diff options
author | startxfr <clarue@startx.fr> | 2014-11-20 03:17:46 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2014-11-20 03:17:46 +0100 |
commit | a699d0d06feeb1859efea16dd6b3df17901a1bc5 (patch) | |
tree | 3a2646acb64a4a9d2440549b2a895648b9289466 /Services/postgres/Dockerfile | |
parent | 8829f895c890685cc25fe3022299b4275808dc06 (diff) | |
download | phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.gz phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.bz2 phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.tar.xz phpmyadmin-a699d0d06feeb1859efea16dd6b3df17901a1bc5.zip |
modif des services et ajout de memcache, apache et nodejs
Diffstat (limited to 'Services/postgres/Dockerfile')
-rw-r--r-- | Services/postgres/Dockerfile | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/Services/postgres/Dockerfile b/Services/postgres/Dockerfile index f16fe0c..7997d9d 100644 --- a/Services/postgres/Dockerfile +++ b/Services/postgres/Dockerfile @@ -1,5 +1,24 @@ +FROM startx/fedora +MAINTAINER Chistophe LARUE <dev@startx.fr> -FROM postgres:latest -MAINTAINER startx dev@startx.fr +COPY postgres_run.sh postgres_modify_pass.sh /bin/ +RUN yum -y install \ + mariadb-galera-common \ + mariadb-galera-server \ + mariadb-libs \ + mariadb-server \ + mariadb \ + && yum clean all \ + && mkdir -p /var/log/mysql \ + && touch /var/log/mysql/.keep /var/lib/mysql/.keep \ + && chown -R mysql:mysql /var/log/mysql /var/lib/mysql \ + && chmod ug+rx /bin/postgres_* +VOLUME ["/etc/postgresql", "/var/log/postgresql", "/var/lib/postgresql"] +USER postgresql +EXPOSE 5432 + +#CMD ["/usr/libexec/pgsqld"] +CMD ["/bin/postgres_run.sh"] +ONBUILD CMD ["/bin/postgres_run.sh"]
\ No newline at end of file |