2016-05-27 15:30:13 -05:00
|
|
|
FROM docker-base
|
2016-03-08 13:42:20 -06:00
|
|
|
|
|
|
|
## Pre-install the fundamental packages
|
2016-07-26 14:01:58 -05:00
|
|
|
## Clean up
|
|
|
|
RUN apt-get -y install \
|
|
|
|
redis-server \
|
|
|
|
&& \
|
|
|
|
apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y
|
2016-03-08 13:42:20 -06:00
|
|
|
|
2016-05-27 15:30:13 -05:00
|
|
|
RUN sed -ri 's/^daemonize yes$/daemonize no/' /etc/redis/redis.conf \
|
|
|
|
&& sed -ri 's/^logfile .*$/logfile ""/' /etc/redis/redis.conf \
|
|
|
|
&& sed -ri 's/^# syslog-enabled no$/syslog-enabled no/' /etc/redis/redis.conf
|
|
|
|
|
|
|
|
ENTRYPOINT service redis-server start
|