Skip to content

Commit

Permalink
Fix the redis.conf file for sonic p4 image (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacao authored and lguohan committed Dec 22, 2016
1 parent a01d484 commit a11593a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions platform/p4/docker-sonic-p4/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a11593a

Please sign in to comment.