Dockerfile 525 B

123456789101112131415161718192021222324
  1. FROM ubuntu
  2. # Set the file maintainer (your name - the file's author)
  3. MAINTAINER Borja Burgos <[email protected]>
  4. # Update the default application repository sources list
  5. RUN apt-get update
  6. # Install Memcached
  7. RUN apt-get install -y memcached
  8. # Port to expose (default: 11211)
  9. EXPOSE 11211
  10. # Default Memcached run command arguments
  11. # Change to limit memory when creating container in Tutum
  12. CMD ["-m", "64"]
  13. # Set the user to run Memcached daemon
  14. USER daemon
  15. # Set the entrypoint to memcached binary
  16. ENTRYPOINT memcached