diff options
Diffstat (limited to 'scripts/dockerfiles/images/memcache/Dockerfile')
-rw-r--r-- | scripts/dockerfiles/images/memcache/Dockerfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/dockerfiles/images/memcache/Dockerfile b/scripts/dockerfiles/images/memcache/Dockerfile new file mode 100644 index 0000000000..a1a2b6ee41 --- /dev/null +++ b/scripts/dockerfiles/images/memcache/Dockerfile @@ -0,0 +1,24 @@ +FROM ubuntu + +# Set the file maintainer (your name - the file's author) +MAINTAINER Borja Burgos <borja@tutum.co> + +# Update the default application repository sources list +RUN apt-get update + +# Install Memcached +RUN apt-get install -y memcached + +# Port to expose (default: 11211) +EXPOSE 11211 + +# Default Memcached run command arguments +# Change to limit memory when creating container in Tutum +CMD ["-m", "64"] + +# Set the user to run Memcached daemon +USER daemon + +# Set the entrypoint to memcached binary +ENTRYPOINT memcached + |