summaryrefslogtreecommitdiffstats
path: root/Applications/phpmyadmin/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/phpmyadmin/Dockerfile')
-rw-r--r--Applications/phpmyadmin/Dockerfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Applications/phpmyadmin/Dockerfile b/Applications/phpmyadmin/Dockerfile
index 50496f4..852e8b1 100644
--- a/Applications/phpmyadmin/Dockerfile
+++ b/Applications/phpmyadmin/Dockerfile
@@ -1,8 +1,10 @@
+FROM startx/sv-php
+MAINTAINER Chistophe LARUE <dev@startx.fr>
+RUN yum -y update && yum clean all
+RUN yum -y install phpMyAdmin && yum clean all
+ADD config.inc.php /etc/phpMyAdmin/config.inc.php
+ADD test.php /var/www/html/test.php
-FROM maxexcloo/phpmyadmin:latest
-MAINTAINER startx dev@startx.fr
-
-# ajout de la conf personnalisée pour les app startx
-ADD config.inc.php /data/http/config.inc.php
-ADD test.php /data/http/test.php
+EXPOSE 80
+ENTRYPOINT ["/usr/sbin/apachectl", "-D FOREGROUND"] \ No newline at end of file