From 8d2acbe203d6905c51a28ebe81db7ac90d0df52d Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 6 Dec 2015 21:02:28 +0100 Subject: initialize couchbase service container --- Services/couchbase/Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Services/couchbase/Dockerfile (limited to 'Services/couchbase/Dockerfile') 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 + +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 -- cgit v1.2.3