Fix the redis.conf file for sonic p4 image (#151)

This commit is contained in:
jiacao 2016-12-21 20:30:47 -08:00 committed by lguohan
parent a01d484087
commit a11593a746

View File

@ -17,4 +17,10 @@ ADD rsyslog.conf /etc/rsyslog.conf
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
RUN rm -rf /deps
RUN sed -ri 's/^daemonize yes$/daemonize no/; \
s/^logfile .*$/logfile ""/; \
s/^# syslog-enabled no$/syslog-enabled no/; \
s/^# unixsocket/unixsocket/ \
' /etc/redis/redis.conf
ENTRYPOINT /bin/bash