preserve environment for PHP, adresses regression reported in #62
This commit is contained in:
parent
9e7cc388b7
commit
fcfa332495
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#!/bin/execlineb -P
|
#!/bin/execlineb -P
|
||||||
|
s6-envdir /run/env
|
||||||
/usr/sbin/php-fpm8
|
/usr/sbin/php-fpm8
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue