From ef2c1df934ee7720fd1ccacae042f3deb3b7628d Mon Sep 17 00:00:00 2001 From: startxfr Date: Mon, 8 Dec 2014 02:35:03 +0100 Subject: adding function and startup script for last services images : memcache, nodejs, ooconv and postresql --- Services/memcache/Dockerfile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'Services/memcache/Dockerfile') 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 -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 -- cgit v1.2.3