Created
October 25, 2013 20:56
-
-
Save klizhentas/7161704 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from mailgun/base:latest | |
ENV REDIS_VERSION 2.6.13 | |
run wget http://redis.googlecode.com/files/redis-$REDIS_VERSION.tar.gz -O /opt/redis-$REDIS_VERSION.tar.gz | |
run cd /opt && tar -xzvf /opt/redis-$REDIS_VERSION.tar.gz | |
run cd /opt/redis-$REDIS_VERSION && make | |
run mv /opt/redis-$REDIS_VERSION /opt/redis | |
run mkdir -p /var/log/redis/ /var/run/redis/ /var/lib/redis/ | |
ADD ./conf /opt/redis | |
run chown mg:mg -R /var/lib/redis /var/log/redis /var/run/redis /opt/redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment