Various un-breaking

This commit is contained in:
3wc
2020-10-24 20:13:56 +02:00
parent 0ac4c51b3b
commit 21babc7bca
4 changed files with 8 additions and 10 deletions

View File

@ -1,7 +1,13 @@
#!/bin/bash
{{ if (env "PHP_EXTENSIONS") }}
docker-php-ext-install {{ env "PHP_EXTENSIONS" }}
{{ end }}
if [ -n "$@" ]; then
"$@"
fi
# Upstream ENTRYPOINT
# https://github.com/docker-library/wordpress/blob/master/php7.4/apache/Dockerfile#L120
/usr/local/bin/docker-entrypoint.sh apache2-foreground "$@"
/usr/local/bin/docker-entrypoint.sh apache2-foreground