This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
wordpress/entrypoint.sh.tmpl

14 lines
302 B
Cheetah
Raw Normal View History

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