diff options
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 |