Browse Source

Add the redis Dockerfile

for-closed-social
crystaldust 10 years ago
parent
commit
b60d5ecc3e
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      dockerfiles/images/redis/Dockerfile

+ 14
- 0
dockerfiles/images/redis/Dockerfile View File

@ -0,0 +1,14 @@
FROM stackbrew/ubuntu:saucy
MAINTAINER Meaglith Ma <genedna@gmail.com> (@genedna), Lance Ju <juzhenatpku@gmail.com> (@crystaldust)
ENV DEBIAN_FRONTEND noninteractive
ENV DEBIAN_FRONTEND noninteractive
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"]

Loading…
Cancel
Save