You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
525 B

  1. FROM ubuntu
  2. # Set the file maintainer (your name - the file's author)
  3. MAINTAINER Borja Burgos <borja@tutum.co>
  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