14 lines
302 B
Bash
14 lines
302 B
Bash
#!/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
|