summaryrefslogtreecommitdiffstats
path: root/scripts/dockerfiles/images/redis/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dockerfiles/images/redis/Dockerfile')
-rw-r--r--scripts/dockerfiles/images/redis/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/dockerfiles/images/redis/Dockerfile b/scripts/dockerfiles/images/redis/Dockerfile
new file mode 100644
index 0000000000..a5b948fb14
--- /dev/null
+++ b/scripts/dockerfiles/images/redis/Dockerfile
@@ -0,0 +1,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"]
+