-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sameer Naik
committed
Jul 28, 2018
1 parent
c31b89a
commit 015eb37
Showing
1 changed file
with
2 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM ubuntu:bionic-20180526 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
ENV REDIS_VERSION=4.0.9 \ | ||
|
@@ -11,6 +12,7 @@ RUN apt-get update \ | |
&& sed 's/^bind /# bind /' -i /etc/redis/redis.conf \ | ||
&& sed 's/^logfile /# logfile /' -i /etc/redis/redis.conf \ | ||
&& sed 's/^daemonize yes/daemonize no/' -i /etc/redis/redis.conf \ | ||
&& sed 's/^protected-mode yes/protected-mode no/' -i /etc/redis/redis.conf \ | ||
&& sed 's/^# unixsocket /unixsocket /' -i /etc/redis/redis.conf \ | ||
&& sed 's/^# unixsocketperm 700/unixsocketperm 777/' -i /etc/redis/redis.conf \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|