0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 17:24:12 +01:00
gitea/dockerfiles/images/redis/Dockerfile
2014-05-01 15:37:24 +08:00

11 lines
426 B
Docker

FROM stackbrew/ubuntu:saucy
MAINTAINER Meaglith Ma <genedna@gmail.com> (@genedna), Lance Ju <juzhenatpku@gmail.com> (@crystaldust)
RUN apt-get update && apt-get install -y redis-server
# Usually redis doesn't need a password
#RUN sed -i "s/# requirepass foobared/requirepass THE_REDIS_PASSWORD/g" /etc/redis/redis.conf
EXPOSE 6379
ENTRYPOINT ["/usr/bin/redis-server"]
CMD ["--bind", "0.0.0.0"]