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