summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin/Dockerfile
diff options
context:
space:
mode:
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