mirror of https://github.com/gogits/gogs.git
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
526 B
24 lines
526 B
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 |
|
|
|
|