2020-10-23 02:06:26 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-10-24 18:13:56 +00:00
|
|
|
{{ if (env "PHP_EXTENSIONS") }}
|
2020-10-23 02:06:26 +00:00
|
|
|
docker-php-ext-install {{ env "PHP_EXTENSIONS" }}
|
2020-10-24 18:13:56 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
if [ -n "$@" ]; then
|
|
|
|
"$@"
|
|
|
|
fi
|
2020-10-23 02:06:26 +00:00
|
|
|
|
|
|
|
# Upstream ENTRYPOINT
|
|
|
|
# https://github.com/docker-library/wordpress/blob/master/php7.4/apache/Dockerfile#L120
|
2020-10-24 18:13:56 +00:00
|
|
|
/usr/local/bin/docker-entrypoint.sh apache2-foreground
|