summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2016-06-11 17:55:51 +0200
committerstartxfr <clarue@startx.fr>2016-06-11 17:55:51 +0200
commit1a8cceb744743ceb589813f14365e0d021b7d133 (patch)
tree27675f323a0f79bcd7b8cf5cf69bdb26e780453d
parentd3651f4973511a9ad21ff12791899576b534c3d3 (diff)
downloadphpmyadmin-1a8cceb744743ceb589813f14365e0d021b7d133.tar.gz
phpmyadmin-1a8cceb744743ceb589813f14365e0d021b7d133.tar.bz2
phpmyadmin-1a8cceb744743ceb589813f14365e0d021b7d133.tar.xz
phpmyadmin-1a8cceb744743ceb589813f14365e0d021b7d133.zip
change for logfile
-rw-r--r--Applications/phpmyadmin/Dockerfile4
-rw-r--r--Services/apache/Dockerfile2
-rw-r--r--Services/php/Dockerfile2
3 files changed, 4 insertions, 4 deletions
diff --git a/Applications/phpmyadmin/Dockerfile b/Applications/phpmyadmin/Dockerfile
index 44b59ef..c364efc 100644
--- a/Applications/phpmyadmin/Dockerfile
+++ b/Applications/phpmyadmin/Dockerfile
@@ -6,8 +6,8 @@ RUN cd $APP_PATH && \
unzip phpMyAdmin-4.5.2-all-languages.zip && \
rm -f phpMyAdmin-4.5.2-all-languages.zip && \
mv phpMyAdmin-4.5.2-all-languages/* ./ && \
- rm -rf phpMyAdmin-4.5.2-all-languages
-RUN mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs
+ rm -rf phpMyAdmin-4.5.2-all-languages && \
+ mkdir /etc/httpd/logs &> /dev/null && chown -R apache:apache /etc/httpd/logs
COPY config.inc.php $APP_PATH/config.inc.php
COPY test.php $APP_PATH/test.php
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 && \