Fix the redis.conf file for sonic p4 image (#151)
This commit is contained in:
parent
a01d484087
commit
a11593a746
@ -17,4 +17,10 @@ ADD rsyslog.conf /etc/rsyslog.conf
|
|||||||
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
||||||
RUN rm -rf /deps
|
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
|
ENTRYPOINT /bin/bash
|
||||||
|
Reference in New Issue
Block a user