mirror of
https://github.com/go-gitea/gitea
synced 2024-12-27 02:54:27 +00:00
69e332f432
Removed trailing whitespaces with ```sh for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done ``` and some handwork.
25 lines
525 B
Docker
25 lines
525 B
Docker
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
|
|
|