File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,10 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C3173AA6 A
83
83
clamdscan && \
84
84
rm -rf /usr/share/man/man1 && \
85
85
rm -rf /usr/share/man/man7 && \
86
+ sed -i 's/^\b LocalSocket\b /#&/g' /etc/clamav/clamd.conf && \
87
+ echo "TCPSocket 3310" >> /etc/clamav/clamd.conf && \
88
+ echo "TCPAddr 10.21.4.150" >> /etc/clamav/clamd.conf && \
89
+ echo "TCPAddr 10.21.5.150" >> /etc/clamav/clamd.conf && \
86
90
# adding clamav socket directory to allow clamd to start without using a service
87
91
mkdir -p /run/clamav && \
88
92
chown clamav /run/clamav && \
Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C3173AA6 &
67
67
clamdscan && \
68
68
rm -rf /usr/share/man/man1 && \
69
69
rm -rf /usr/share/man/man7 && \
70
+ sed -i 's/^\b LocalSocket\b /#&/g' /etc/clamav/clamd.conf && \
71
+ echo "TCPSocket 3310" >> /etc/clamav/clamd.conf && \
72
+ echo "TCPAddr 10.21.4.150" >> /etc/clamav/clamd.conf && \
73
+ echo "TCPAddr 10.21.5.150" >> /etc/clamav/clamd.conf && \
70
74
# adding clamav socket directory to allow clamd to start without using a service
71
75
mkdir -p /run/clamav && \
72
76
chown clamav /run/clamav && \
You can’t perform that action at this time.
0 commit comments