[DOCKER][TOOLS] Add option to bin/configure to use a prebuilt PHP container (https://hub.docker.com/repository/docker/gsocial/php)

This commit is contained in:
2021-04-01 13:17:25 +00:00
parent c8b2a7a2e0
commit ff771223af
2 changed files with 18 additions and 2 deletions

View File

@@ -1,10 +1,16 @@
#!/usr/bin/sh
cat <<EOF
if [ $LE_CERT -ne 0 ]; then
cat <<EOF
php:
build: docker/php
EOF
else
cat <<EOF
php:
image: gsocial/php
EOF
fi
# If the user wants a DB docker container
if echo "${DOCKER}" | grep -Fvq '"db"'; then