preserve environment for PHP, adresses regression reported in #62

This commit is contained in:
El RIDO 2021-08-19 10:15:52 +02:00
parent 9e7cc388b7
commit fcfa332495
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
2 changed files with 2 additions and 1 deletions

View file

@ -81,7 +81,7 @@ COPY etc/ /etc/
RUN s6-rc-compile /etc/s6-rc/compiled /etc/s6/services \ RUN s6-rc-compile /etc/s6-rc/compiled /etc/s6/services \
&& chown -R 65534:82 /etc/s6-rc/compiled \ && chown -R 65534:82 /etc/s6-rc/compiled \
&& s6-linux-init-maker -C -N -B /etc/s6-linux-init/current && s6-linux-init-maker -C -N -B -s /run/env /etc/s6-linux-init/current
WORKDIR /var/www WORKDIR /var/www
# user nobody, group www-data # user nobody, group www-data

View file

@ -1,2 +1,3 @@
#!/bin/execlineb -P #!/bin/execlineb -P
s6-envdir /run/env
/usr/sbin/php-fpm8 /usr/sbin/php-fpm8