File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 8787if [ ! -z " ${PHP_INI_OVERRIDE} " ]; then
8888 echo " ${PHP_INI_OVERRIDE} " | sed -e ' s/\\n/\n/g' > /usr/local/etc/php/conf.d/zz-02-custom.ini
8989fi
90+ unset PHP_INI_OVERRIDE
91+
92+ # Remove ENV variables that are meant only for the SSH container
93+
94+ unset SSH_PRIVATE_KEY
95+ unset IMPORT_GITLAB_PUB_KEYS
96+ unset IMPORT_GITHUB_PUB_KEYS
97+ unset IMPORT_PUB_KEYS
98+ unset SSH_CONFIG SSH_KNOWN_HOSTS
99+
100+ # Remove ENV variables that are meant only for the web container
101+
102+ unset HTTPD_EXTRA_CONF SSL_KEY SSL_CRT WEB_PORTS_HTTP WEB_PORTS_HTTPS
103+
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ if [ ! -z "${PHP_FPM_OVERRIDE}" ]; then
3030 echo " ; Customizations from PHP_FPM_OVERRIDE:" >> $PHP_FPM_POOL_CONF
3131 echo " ${PHP_FPM_OVERRIDE} " | sed -e ' s/\\n/\n/g' >> $PHP_FPM_POOL_CONF
3232fi
33+ unset PHP_FPM_OVERRIDE
3334
3435# Start the "real" entrypoint
3536. /usr/local/bin/docker-php-entrypoint
You can’t perform that action at this time.
0 commit comments