From 7f9465928d5b149e4fb5f9bc476b8cb7298436fc Mon Sep 17 00:00:00 2001 From: startxfr Date: Mon, 7 Dec 2015 01:01:22 +0100 Subject: start refreshing application pma --- Applications/phpmyadmin/Dockerfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'Applications/phpmyadmin/Dockerfile') 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 -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 -- cgit v1.2.3