diff options
author | startxfr <clarue@startx.fr> | 2015-11-28 21:04:24 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-28 21:04:24 +0100 |
commit | 7b3b27e440b076f7a599555eaf963e719caab080 (patch) | |
tree | 1f6caa5506433de8850a66316abf1db80fc5ed01 /Services/php/Dockerfile | |
parent | 59bbf66b7b1e4490694f2c5f732ddf9380acf053 (diff) | |
download | phpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.tar.gz phpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.tar.bz2 phpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.tar.xz phpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.zip |
start reshape of mysql container
Diffstat (limited to 'Services/php/Dockerfile')
-rw-r--r-- | Services/php/Dockerfile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile index 62b9564..ee02d89 100644 --- a/Services/php/Dockerfile +++ b/Services/php/Dockerfile @@ -9,12 +9,16 @@ RUN dnf -y install php php-pecl-mongo php-cli php-pear \ php-tcpdf-dejavu-sans-fonts php-tidy \ && dnf clean all ENV LOG_PATH=/data/logs/apache_php \ - APP_PATH=/data/apache_php + APP_PATH=/data/apache_php \ + STARTUPLOG=/data/logs/apache_php/startup.log 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 $APP_PATH && \ + mkdir $LOG_PATH && \ + touch $STARTUPLOG COPY ./ $APP_PATH RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh && \ chown -R apache:apache $APP_PATH $LOG_PATH && \ |