summaryrefslogtreecommitdiffstats
path: root/Services/php/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2017-01-01 14:16:48 +0100
committerstartxfr <clarue@startx.fr>2017-01-01 14:16:48 +0100
commitf499157f393a851909e733c9f259a71b619c0d84 (patch)
tree312685ea4f01d4a19e2e4d5789a341114f11c679 /Services/php/Dockerfile
parenta19140b2b4cac53f5ffbf96b77523a92b45b1f3f (diff)
downloadphpmyadmin-f499157f393a851909e733c9f259a71b619c0d84.tar.gz
phpmyadmin-f499157f393a851909e733c9f259a71b619c0d84.tar.bz2
phpmyadmin-f499157f393a851909e733c9f259a71b619c0d84.tar.xz
phpmyadmin-f499157f393a851909e733c9f259a71b619c0d84.zip
put php function as lib
Diffstat (limited to 'Services/php/Dockerfile')
-rw-r--r--Services/php/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Services/php/Dockerfile b/Services/php/Dockerfile
index f3e6c0e..4eeae7a 100644
--- a/Services/php/Dockerfile
+++ b/Services/php/Dockerfile
@@ -10,11 +10,11 @@ RUN dnf -y install php php-cli php-pear \
&& dnf clean all
COPY httpd.conf $HTTPDCONF
COPY php.ini /etc/php.d/sx.ini
-COPY run.sh /bin/
-RUN chmod 775 /bin/run.sh && \
+COPY *.sh /bin/
+RUN chmod 775 /bin/run.sh /bin/sx-php.sh && \
chmod ug+r $HTTPDCONF
COPY ./ $APP_PATH
-RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh && \
+RUN rm -f $APP_PATH/Dockerfile $APP_PATH/httpd.conf $APP_PATH/run.sh $APP_PATH/sx-php.sh && \
chown -R apache:apache $DATA_PATH $APP_PATH $LOG_PATH && \
chmod ug+r -R $DATA_PATH $APP_PATH