Created
October 4, 2013 08:37
-
-
Save smugen/6822820 to your computer and use it in GitHub Desktop.
docker redis service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RUN apt-get update && apt-get -y install build-essential | |
FROM mugen/ubuntu-build-essential:latest | |
# install redis | |
ADD http://download.redis.io/redis-stable.tar.gz /tmp/ | |
RUN cd /tmp && tar xzf redis-stable.tar.gz | |
RUN cd /tmp/redis-stable && make | |
RUN cd /tmp/redis-stable/src && cp redis-server /usr/bin/; cp redis-cli /usr/bin/ | |
# run redis server | |
CMD ["/usr/bin/redis-server"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment