diff options
author | startxfr <clarue@startx.fr> | 2016-06-11 17:33:13 +0200 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2016-06-11 17:33:13 +0200 |
commit | 143158d6b7cae03c4e3fe4e01db5b1657a057ce3 (patch) | |
tree | af287b3dfe3c54c1cc8c6e03fe82e9e06a21360f /Services/apache | |
parent | 56d2581d970a19244a5b682ddae0b0a20c067325 (diff) | |
download | phpmyadmin-143158d6b7cae03c4e3fe4e01db5b1657a057ce3.tar.gz phpmyadmin-143158d6b7cae03c4e3fe4e01db5b1657a057ce3.tar.bz2 phpmyadmin-143158d6b7cae03c4e3fe4e01db5b1657a057ce3.tar.xz phpmyadmin-143158d6b7cae03c4e3fe4e01db5b1657a057ce3.zip |
change for logfile
Diffstat (limited to 'Services/apache')
-rw-r--r-- | Services/apache/Dockerfile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile index 4e908ac..676842a 100644 --- a/Services/apache/Dockerfile +++ b/Services/apache/Dockerfile @@ -2,8 +2,7 @@ FROM startx/fedora MAINTAINER Christophe LARUE <dev@startx.fr> USER root -RUN dnf -y install httpd && \ - dnf clean all +RUN dnf -y install httpd && dnf clean all ENV HTTPDCONF=/etc/httpd/conf.d/app.conf \ STARTUPLOG=/logs/startup.log \ LOG_PATH=/logs \ @@ -15,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 + touch $STARTUPLOG && mkdir /etc/httpd/logs && 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 && \ |