summaryrefslogtreecommitdiffstats
path: root/Services/memcache/Dockerfile
blob: 9b2b948ed2fdde52f68c7739e24891afd353ca48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM startx/fedora
MAINTAINER Christophe LARUE <dev@startx.fr>

USER root
RUN dnf -y install memcached && \
    dnf clean all 
ENV STARTUPLOG=/data/logs/memcache/startup.log \
    LOG_PATH=/data/logs/memcache
COPY *.sh /bin/
RUN chmod 775 /bin/run.sh && \
    mkdir -p $LOG_PATH && \
    touch $STARTUPLOG

EXPOSE 11211
CMD ["/bin/run.sh"]