summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-12-07 01:01:22 +0100
committerstartxfr <clarue@startx.fr>2015-12-07 01:01:22 +0100
commit7f9465928d5b149e4fb5f9bc476b8cb7298436fc (patch)
tree56e00489d61c122fe7990d750f05c256d2b04d20 /Applications/phpmyadmin/Dockerfile
parent3e4f13d3b46b87f9892ab936bd537036d20bce02 (diff)
downloadphpmyadmin-7f9465928d5b149e4fb5f9bc476b8cb7298436fc.tar.gz
phpmyadmin-7f9465928d5b149e4fb5f9bc476b8cb7298436fc.tar.bz2
phpmyadmin-7f9465928d5b149e4fb5f9bc476b8cb7298436fc.tar.xz
phpmyadmin-7f9465928d5b149e4fb5f9bc476b8cb7298436fc.zip
start refreshing application pma
Diffstat (limited to 'Applications/phpmyadmin/Dockerfile')
-rw-r--r--Applications/phpmyadmin/Dockerfile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Applications/phpmyadmin/Dockerfile b/Applications/phpmyadmin/Dockerfile
index 88d2b84..21de57a 100644
--- a/Applications/phpmyadmin/Dockerfile
+++ b/Applications/phpmyadmin/Dockerfile
@@ -1,11 +1,14 @@
FROM startx/sv-php
MAINTAINER Christophe LARUE <dev@startx.fr>
-RUN dnf -y install phpMyAdmin \
- && dnf clean all
-COPY config.php /etc/phpMyAdmin/config.inc.php
-COPY test.php /var/www/html/test.php
+RUN cd $TMP_APP_PATH && \
+ wget -q https://files.phpmyadmin.net/phpMyAdmin/4.5.2/phpMyAdmin-4.5.2-all-languages.zip && \
+ unzip phpMyAdmin-4.5.2-all-languages.zip && \
+ rm -f phpMyAdmin-4.5.2-all-languages.zip && \
+ mv phpMyAdmin-4.5.2-all-languages pma
+COPY config.inc.php $TMP_APP_PATH/pma/config.inc.php
+COPY test.php $TMP_APP_PATH/pma/test.php
EXPOSE 80 443
-VOLUME ["/var/www/html", "/var/log/httpd"]
-CMD ["/sx/httpd_run.sh"] \ No newline at end of file
+VOLUME [$APP_PATH,$LOG_PATH]
+CMD ["/bin/run.sh"] \ No newline at end of file