summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrystaldust <juzhenatpku@gmail.com>2014-04-22 10:15:12 +0000
committercrystaldust <juzhenatpku@gmail.com>2014-04-22 10:15:12 +0000
commitb60d5ecc3e09d242c6c5d48e9a7714563282c6d9 (patch)
tree26a8c38a900a1f60d2213a14a789a7c6a273a8b8
parent8a6119551b35031387e06d6aa0cb3e95d72a40a2 (diff)
downloadgitea-b60d5ecc3e09d242c6c5d48e9a7714563282c6d9.tar.gz
gitea-b60d5ecc3e09d242c6c5d48e9a7714563282c6d9.zip
Add the redis Dockerfile
-rw-r--r--dockerfiles/images/redis/Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/dockerfiles/images/redis/Dockerfile b/dockerfiles/images/redis/Dockerfile
new file mode 100644
index 0000000000..d8b24d5af9
--- /dev/null
+++ b/dockerfiles/images/redis/Dockerfile
@@ -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"]
+