Skip to content

Commit

Permalink
lock to version 3.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jul 12, 2018
1 parent fa56ed8 commit 960bb37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM ubuntu:xenial-20180525
LABEL maintainer="[email protected]"

ENV REDIS_USER=redis \
ENV REDIS_VERSION=3.0.6 \
REDIS_USER=redis \
REDIS_DATA_DIR=/var/lib/redis \
REDIS_LOG_DIR=/var/log/redis

RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y redis-server \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y redis-server=2:${REDIS_VERSION}* \
&& sed 's/^daemonize yes/daemonize no/' -i /etc/redis/redis.conf \
&& sed 's/^bind 127.0.0.1/bind 0.0.0.0/' -i /etc/redis/redis.conf \
&& sed 's/^# unixsocket /unixsocket /' -i /etc/redis/redis.conf \
Expand Down

0 comments on commit 960bb37

Please sign in to comment.