custom-php/entrypoint.sh.tmpl

10 lines
158 B
Bash

#!/bin/bash
{{ if (env "PHP_EXTENSIONS_TO_DISABLE") }}
docker-php-ext-disable {{ env "PHP_EXTENSIONS_TO_DISABLE" }}
{{ end }}
if [ -n "$@" ]; then
"$@"
fi