summaryrefslogtreecommitdiffstats
path: root/Services/couchbase/Dockerfile
blob: 6568f53985a1121324f7f3ed6fe8b669fd51a7f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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"]