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
8383 clamdscan && \
8484 rm -rf /usr/share/man/man1 && \
8585 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 && \
8690 # adding clamav socket directory to allow clamd to start without using a service
8791 mkdir -p /run/clamav && \
8892 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 &
6767 clamdscan && \
6868 rm -rf /usr/share/man/man1 && \
6969 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 && \
7074 # adding clamav socket directory to allow clamd to start without using a service
7175 mkdir -p /run/clamav && \
7276 chown clamav /run/clamav && \
You can’t perform that action at this time.
0 commit comments