summaryrefslogtreecommitdiffstats
path: root/Services
diff options
context:
space:
mode:
Diffstat (limited to 'Services')
-rw-r--r--Services/apache/Dockerfile2
-rw-r--r--Services/php/Dockerfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile
index 676842a..b207fc4 100644
--- a/Services/apache/Dockerfile
+++ b/Services/apache/Dockerfile
@@ -14,7 +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 && chown -R apache:apache /etc/httpd/logs
+ touch $STARTUPLOG && mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs
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 4abb0f8..d530396 100644
--- a/Services/php/Dockerfile
+++ b/Services/php/Dockerfile
@@ -12,7 +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
+ chmod ug+r $HTTPDCONF && mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs
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 && \