diff options
author | startxfr <clarue@startx.fr> | 2016-06-11 18:04:21 +0200 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2016-06-11 18:04:21 +0200 |
commit | e5e1102fc476988ebe57d60d171f021abc26d169 (patch) | |
tree | bbe83c8e17d8ad5aa7ea59c5b5d2717f483467de /Services | |
parent | 1a8cceb744743ceb589813f14365e0d021b7d133 (diff) | |
download | phpmyadmin-e5e1102fc476988ebe57d60d171f021abc26d169.tar.gz phpmyadmin-e5e1102fc476988ebe57d60d171f021abc26d169.tar.bz2 phpmyadmin-e5e1102fc476988ebe57d60d171f021abc26d169.tar.xz phpmyadmin-e5e1102fc476988ebe57d60d171f021abc26d169.zip |
change for logfile
Diffstat (limited to 'Services')
-rw-r--r-- | Services/apache/Dockerfile | 4 | ||||
-rw-r--r-- | Services/php/Dockerfile | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile index b207fc4..8e6e22c 100644 --- a/Services/apache/Dockerfile +++ b/Services/apache/Dockerfile @@ -14,7 +14,9 @@ RUN chmod 775 /bin/run.sh /bin/sx-httpd.sh && \ chmod ug+r $HTTPDCONF && \ rm -f /etc/httpd/conf.d/autoindex.conf /etc/httpd/conf.d/welcome.conf && \ mkdir -p $DATA_PATH $APP_PATH $LOG_PATH && \ - touch $STARTUPLOG && mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs + touch $STARTUPLOG && \ + mkdir /etc/httpd/logs &> /dev/null && \ + chown -R apache:apache /etc/httpd/logs &> /dev/null COPY ./ $APP_PATH RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh $APP_PATH/sx-httpd.sh && \ chown -R apache:apache $APP_PATH $DATA_PATH $LOG_PATH && \ diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile index d530396..cc32e0e 100644 --- a/Services/php/Dockerfile +++ b/Services/php/Dockerfile @@ -12,7 +12,9 @@ COPY httpd.conf $HTTPDCONF COPY php.ini /etc/php.d/sx.ini COPY run.sh /bin/ RUN chmod 775 /bin/run.sh && \ - chmod ug+r $HTTPDCONF && mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs + chmod ug+r $HTTPDCONF && \ + mkdir /etc/httpd/logs &> /dev/null && \ + chown -R apache:apache /etc/httpd/logs &> /dev/null COPY ./ $APP_PATH RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh && \ chown -R apache:apache $DATA_PATH $APP_PATH $LOG_PATH && \ |