mirror of
https://github.com/danog/php.git
synced 2024-11-27 12:24:58 +01:00
Fix sed to modify the envvars file
This commit is contained in:
parent
86a4f8d1cf
commit
800aea518e
@ -43,7 +43,7 @@ RUN set -ex \
|
||||
# : ${APACHE_RUN_USER:=www-data}
|
||||
# export APACHE_RUN_USER
|
||||
# so that they can be overridden at runtime ("-e APACHE_RUN_USER=...")
|
||||
&& sed -r 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
|
||||
&& sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
|
||||
\
|
||||
# setup directories and permissions
|
||||
&& . "$APACHE_ENVVARS" \
|
||||
|
@ -43,7 +43,7 @@ RUN set -ex \
|
||||
# : ${APACHE_RUN_USER:=www-data}
|
||||
# export APACHE_RUN_USER
|
||||
# so that they can be overridden at runtime ("-e APACHE_RUN_USER=...")
|
||||
&& sed -r 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
|
||||
&& sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
|
||||
\
|
||||
# setup directories and permissions
|
||||
&& . "$APACHE_ENVVARS" \
|
||||
|
@ -11,7 +11,7 @@ RUN set -ex \
|
||||
# : ${APACHE_RUN_USER:=www-data}
|
||||
# export APACHE_RUN_USER
|
||||
# so that they can be overridden at runtime ("-e APACHE_RUN_USER=...")
|
||||
&& sed -r 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
|
||||
&& sed -ri 's/^export ([^=]+)=(.*)$/: ${\1:=\2}\nexport \1/' "$APACHE_ENVVARS" \
|
||||
\
|
||||
# setup directories and permissions
|
||||
&& . "$APACHE_ENVVARS" \
|
||||
|
Loading…
Reference in New Issue
Block a user