summaryrefslogtreecommitdiffstats
path: root/Services/memcache/Dockerfile
blob: 8a35e0d792e4f88ec0ae23819f5c6d36dd372f38 (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 memcached && \
    dnf clean all 
ENV STARTUPLOG=/logs/startup.log \
    LOG_PATH=/logs
COPY *.sh /bin/
RUN chmod 775 /bin/run.sh && \
    mkdir -p $LOG_PATH && \
    touch $STARTUPLOG

EXPOSE 11211
VOLUME $LOG_PATH
CMD [ "/bin/run.sh" ]