Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/*/**/Dockerfile linguist-generated
/*/**/docker-entrypoint.sh linguist-generated
/*/**/wp-config-docker.php linguist-generated
/Dockerfile.template linguist-language=Dockerfile
3 changes: 3 additions & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,9 @@ RUN set -ex; \

VOLUME /var/www/html

{{ if env.version == "beta" then ( -}}
COPY --chown=www-data:www-data wp-config-docker.php /usr/src/wordpress/
{{ ) else "" end -}}
COPY docker-entrypoint.sh /usr/local/bin/

ENTRYPOINT ["docker-entrypoint.sh"]
Expand Down
3 changes: 3 additions & 0 deletions apply-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ for version; do

if [ "$version" = 'cli' ]; then
cp -a cli-entrypoint.sh "$dir/docker-entrypoint.sh"
elif [ "$version" = 'beta' ]; then
cp -a docker-entrypoint-ng.sh "$dir/docker-entrypoint.sh"
cp -a wp-config-docker.php "$dir/"
else
cp -a docker-entrypoint.sh "$dir/"
fi
Expand Down
1 change: 1 addition & 0 deletions beta/php7.3/apache/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

250 changes: 28 additions & 222 deletions beta/php7.3/apache/docker-entrypoint.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading