Skip to content

Commit 9841f83

Browse files
Shuotian Chenglguohan
Shuotian Cheng
authored andcommitted
[redis]: Disable snapshotting completely (#463)
Signed-off-by: Shuotian Cheng <[email protected]>
1 parent ed746c1 commit 9841f83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dockers/docker-database/Dockerfile.j2

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ debs/{{ deb }}{{' '}}
2424
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
2525
RUN rm -rf /debs
2626

27-
RUN sed -ri 's/^daemonize yes$/daemonize no/; \
27+
RUN sed -ri 's/^(save .*$)/# \1/g; \
28+
s/^daemonize yes$/daemonize no/; \
2829
s/^logfile .*$/logfile ""/; \
2930
s/^# syslog-enabled no$/syslog-enabled no/; \
3031
s/^# unixsocket/unixsocket/ \

0 commit comments

Comments
 (0)