Browse Source

* set root user before change php options in workspace build

master
magomed 3 years ago
parent
commit
2d0fc4385d
  1. 2
      dockerfiles/workspace/workspace73.Dockerfile
  2. 2
      dockerfiles/workspace/workspace74.Dockerfile

2
dockerfiles/workspace/workspace73.Dockerfile

@ -88,6 +88,8 @@ COPY ./minio/auth.json /home/laradock/.mc/config.json
# Tune opts:
###########################################################################
USER root
ARG PHP_OPT_SHORT_OPEN_TAG=Off
RUN sed -i "s/^short_open_tag = .*/short_open_tag = $PHP_OPT_SHORT_OPEN_TAG/g" /etc/php/${PHP_VERSION}/cli/php.ini

2
dockerfiles/workspace/workspace74.Dockerfile

@ -81,6 +81,8 @@ COPY ./minio/auth.json /home/laradock/.mc/config.json
# Tune opts:
###########################################################################
USER root
ARG PHP_OPT_MAX_EXECUTION_TIME=600
RUN sed -i "s/^max_execution_time = .*/max_execution_time = $PHP_OPT_MAX_EXECUTION_TIME/g" /etc/php/${PHP_VERSION}/cli/php.ini

Loading…
Cancel
Save