Browse Source

Add the memcache(d) Dockerfile

tags/v1.2.0-rc1
crystaldust 11 years ago
parent
commit
8a6119551b
2 changed files with 26 additions and 0 deletions
  1. +0
    -0
      dockerfiles/images/memcache/.gitkeep
  2. +26
    -0
      dockerfiles/images/memcache/Dockerfile

dockerfiles/images/memcached/.gitkeep → dockerfiles/images/memcache/.gitkeep View File


+ 26
- 0
dockerfiles/images/memcache/Dockerfile View File

@@ -0,0 +1,26 @@
FROM ubuntu

# Set the file maintainer (your name - the file's author)
MAINTAINER Borja Burgos <borja@tutum.co>

ENV DEBIAN_FRONTEND noninteractive

# 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


Loading…
Cancel
Save