summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mariadb/Dockerfile8
-rw-r--r--mysql/Dockerfile5
-rw-r--r--ooconv/Dockerfile5
-rw-r--r--php/Dockerfile5
-rw-r--r--phpmyadmin/Dockerfile8
-rw-r--r--phpmyadmin/config.inc.php13
-rw-r--r--phpmyadmin/test.php4
7 files changed, 48 insertions, 0 deletions
diff --git a/mariadb/Dockerfile b/mariadb/Dockerfile
new file mode 100644
index 0000000..3803812
--- /dev/null
+++ b/mariadb/Dockerfile
@@ -0,0 +1,8 @@
+
+
+FROM openshift/fedora-mariadb:latest
+MAINTAINER startx dev@startx.fr
+
+# test creation a partir d'une autre image
+RUN echo 'post install de mariadb' > /tmp/post
+
diff --git a/mysql/Dockerfile b/mysql/Dockerfile
new file mode 100644
index 0000000..0ab5bd6
--- /dev/null
+++ b/mysql/Dockerfile
@@ -0,0 +1,5 @@
+
+
+FROM softinnov/mysql:latest
+MAINTAINER startx dev@startx.fr
+
diff --git a/ooconv/Dockerfile b/ooconv/Dockerfile
new file mode 100644
index 0000000..9bde713
--- /dev/null
+++ b/ooconv/Dockerfile
@@ -0,0 +1,5 @@
+
+
+FROM maxexcloo/phpmyadmin:latest
+MAINTAINER startx dev@startx.fr
+
diff --git a/php/Dockerfile b/php/Dockerfile
new file mode 100644
index 0000000..6a87d06
--- /dev/null
+++ b/php/Dockerfile
@@ -0,0 +1,5 @@
+
+
+FROM maxexcloo/nginx-php:latest
+MAINTAINER startx dev@startx.fr
+
diff --git a/phpmyadmin/Dockerfile b/phpmyadmin/Dockerfile
new file mode 100644
index 0000000..50496f4
--- /dev/null
+++ b/phpmyadmin/Dockerfile
@@ -0,0 +1,8 @@
+
+
+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
diff --git a/phpmyadmin/config.inc.php b/phpmyadmin/config.inc.php
new file mode 100644
index 0000000..7458071
--- /dev/null
+++ b/phpmyadmin/config.inc.php
@@ -0,0 +1,13 @@
+<?php
+// fichier qui provient de l'image startx/pma
+$cfg['blowfish_secret'] = 'SECRET';
+$cfg['PmaNoRelation_DisableWarning'] = true;
+$i = 0;
+$i++;
+$cfg['Servers'][$i]['extension'] = 'mysqli';
+$cfg['Servers'][$i]['host'] = 'mariadb';
+$cfg['Servers'][$i]['controlhost'] = '';
+$cfg['Servers'][$i]['controluser'] = 'root';
+$cfg['Servers'][$i]['controlpass'] = 'secretdemerde';
+
+?>
diff --git a/phpmyadmin/test.php b/phpmyadmin/test.php
new file mode 100644
index 0000000..a7796a0
--- /dev/null
+++ b/phpmyadmin/test.php
@@ -0,0 +1,4 @@
+<?php
+print_r($_SERVER);
+print_r($_ENV);
+?>