diff options
author | startxfr <clarue@startx.fr> | 2015-12-06 21:02:28 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-12-06 21:02:28 +0100 |
commit | 8d2acbe203d6905c51a28ebe81db7ac90d0df52d (patch) | |
tree | 1b186e31f2b423eff730b838cd9bfdef49845022 /Services/couchbase/Dockerfile | |
parent | 7fe1c9cf9f114d40fe3f534a3902f3dff73c602f (diff) | |
download | phpmyadmin-8d2acbe203d6905c51a28ebe81db7ac90d0df52d.tar.gz phpmyadmin-8d2acbe203d6905c51a28ebe81db7ac90d0df52d.tar.bz2 phpmyadmin-8d2acbe203d6905c51a28ebe81db7ac90d0df52d.tar.xz phpmyadmin-8d2acbe203d6905c51a28ebe81db7ac90d0df52d.zip |
initialize couchbase service container
Diffstat (limited to 'Services/couchbase/Dockerfile')
-rw-r--r-- | Services/couchbase/Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Services/couchbase/Dockerfile b/Services/couchbase/Dockerfile new file mode 100644 index 0000000..6568f53 --- /dev/null +++ b/Services/couchbase/Dockerfile @@ -0,0 +1,16 @@ +FROM startx/fedora +MAINTAINER Christophe LARUE <dev@startx.fr> + +USER root +RUN dnf -y install couchbase && \ + dnf clean all +ENV STARTUPLOG=/data/logs/couchbase/startup.log \ + LOG_PATH=/data/logs/couchbase +COPY *.sh /bin/ +RUN chmod 775 /bin/run.sh && \ + mkdir -p $LOG_PATH && \ + touch $STARTUPLOG + +EXPOSE 11211 +VOLUME [$LOG_PATH] +CMD ["/bin/run.sh"]
\ No newline at end of file |