summaryrefslogtreecommitdiffstats
path: root/scripts/dockerfiles/images/redis/Dockerfile
blob: a5b948fb14422025c64dda15e75f03c446937a37 (plain)
1
2
3
4
5
6
7
8
9
10
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"]