summaryrefslogtreecommitdiffstats
path: root/Services/memcache/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 23:32:45 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 23:32:45 +0100
commita490cfe364a242b1e9993225758ea6e61369e363 (patch)
treef4699d33f476c79a99db91781697c6b552a7b30e /Services/memcache/Dockerfile
parent42c264a48c9d7df0b5e55be370436e3ec0bb7667 (diff)
downloadphpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.gz
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.bz2
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.tar.xz
phpmyadmin-a490cfe364a242b1e9993225758ea6e61369e363.zip
reshapping of memcache container
Diffstat (limited to 'Services/memcache/Dockerfile')
-rw-r--r--Services/memcache/Dockerfile15
1 files changed, 10 insertions, 5 deletions
diff --git a/Services/memcache/Dockerfile b/Services/memcache/Dockerfile
index 6bc68fe..9b2b948 100644
--- a/Services/memcache/Dockerfile
+++ b/Services/memcache/Dockerfile
@@ -1,10 +1,15 @@
FROM startx/fedora
MAINTAINER Christophe LARUE <dev@startx.fr>
-RUN dnf -y install memcached memcached-selinux && yum clean all
-COPY sx/* /sx/
-RUN chmod ug+rx /sx/memcache*
+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 ["/sx/memcache_run.sh"] \ No newline at end of file
+CMD ["/bin/run.sh"] \ No newline at end of file