wordpress/entrypoint.sh.tmpl
3wc 21babc7bca
All checks were successful
continuous-integration/drone/push Build is passing
Various un-breaking
2020-10-24 20:13:56 +02:00

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