summaryrefslogtreecommitdiffstats
path: root/Services
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2016-06-11 18:12:49 +0200
committerstartxfr <clarue@startx.fr>2016-06-11 18:12:49 +0200
commit54f76c8ff6b31b331e2ef261a00e277e745587b1 (patch)
treec26dab061d801337d2479f48767de3be11977abc /Services
parente5e1102fc476988ebe57d60d171f021abc26d169 (diff)
downloadphpmyadmin-54f76c8ff6b31b331e2ef261a00e277e745587b1.tar.gz
phpmyadmin-54f76c8ff6b31b331e2ef261a00e277e745587b1.tar.bz2
phpmyadmin-54f76c8ff6b31b331e2ef261a00e277e745587b1.tar.xz
phpmyadmin-54f76c8ff6b31b331e2ef261a00e277e745587b1.zip
change for logfile
Diffstat (limited to 'Services')
-rw-r--r--Services/apache/Dockerfile4
-rw-r--r--Services/php/Dockerfile4
2 files changed, 2 insertions, 6 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile
index 8e6e22c..b7b548f 100644
--- a/Services/apache/Dockerfile
+++ b/Services/apache/Dockerfile
@@ -14,9 +14,7 @@ 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 &> /dev/null
+ touch $STARTUPLOG
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 cc32e0e..4abb0f8 100644
--- a/Services/php/Dockerfile
+++ b/Services/php/Dockerfile
@@ -12,9 +12,7 @@ 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 &> /dev/null
+ chmod ug+r $HTTPDCONF
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 && \