From 3679eecbb86ba3d944ba492f6648e5360eabfdfd Mon Sep 17 00:00:00 2001 From: Kuan Fan <31664961+kuanfandevops@users.noreply.github.com> Date: Tue, 22 Jan 2019 13:51:06 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7b4afb0..425dd83 100755 --- a/Dockerfile +++ b/Dockerfile @@ -30,9 +30,10 @@ RUN mkdir /var/run/clamav && \ # av configuration update RUN sed -i 's/^Foreground .*$/Foreground true/g' /etc/clamav/clamd.conf && \ - echo "TCPSocket 3310" >> /etc/clamav/clamd.conf && \ + sed -i '/LocalSocketGroup/d' /etc/clamav/clamd.conf && \ + echo "TCPSocket 3310" >> /etc/clamav/clamd.conf && \ sed -i 's/^Foreground .*$/Foreground true/g' /etc/clamav/freshclam.conf - + # volume provision, comment out otherwise can not change group to root # VOLUME ["/var/lib/clamav"]