Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 662885d

Browse files
committedApr 2, 2014
Add a fedora redis server example.
1 parent 07cb671 commit 662885d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
 

‎fedora-redis/Dockerfile

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM fedora
2+
MAINTAINER Mrunal Patel <mpatel@redhat.com>
3+
4+
RUN yum install redis -y && yum clean all
5+
6+
RUN mkdir -p /var/lib/redis && \
7+
chown redis.redis /var/lib/redis && \
8+
touch /var/lib/redis/.keep
9+
10+
VOLUME ["/var/lib/redis"]
11+
12+
EXPOSE 6379
13+
14+
USER redis
15+
16+
CMD ["/usr/sbin/redis-server"]

0 commit comments

Comments
 (0)
Please sign in to comment.