summaryrefslogtreecommitdiffstats
path: root/Services/memcache/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/memcache/Dockerfile')
-rw-r--r--Services/memcache/Dockerfile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Services/memcache/Dockerfile b/Services/memcache/Dockerfile
index 1038c60..b71fb6f 100644
--- a/Services/memcache/Dockerfile
+++ b/Services/memcache/Dockerfile
@@ -1,13 +1,10 @@
FROM startx/fedora
MAINTAINER Christophe LARUE <dev@startx.fr>
-COPY memcache_run.sh /bin/
-RUN yum -y install memcached \
- && yum clean all \
- && chmod ug+rx /bin/memcache_*
+RUN yum -y install memcached memcached-selinux && yum clean all
+COPY sx/* /sx/
+RUN chmod ug+rx /sx/memcache*
EXPOSE 11211
-#CMD ["memcached" , "-u" ," "daemon"]
-CMD ["/bin/memcache_run.sh"]
-ONBUILD CMD ["/bin/memcache_run.sh"] \ No newline at end of file
+CMD ["/sx/memcache_run.sh"] \ No newline at end of file