Last active
August 29, 2015 13:56
-
-
Save switzer/8792691 to your computer and use it in GitHub Desktop.
Inherited switzer/redis Dockerfile
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
FROM switzer/redis | |
MAINTAINER Scott Switzer <[email protected]> | |
RUN cp /usr/src/redis-$REDIS_VERSION/redis.conf /etc | |
RUN sed -i "s/port 6379/port 0/" /etc/redis.conf;\ | |
sed -i "s/# unixsocket \/tmp\/redis.sock/unixsocket \/tmp\/redis.sock/" /etc/redis.conf;\ | |
sed -i "s/# unixsocketperm 755/unixsocketperm 777/" /etc/redis.conf;\ | |
sed -i "s/# slaveof <masterip> <masterport>/slaveof admin-cache.internal.sunblock.io 6379/" /etc/redis.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment