pengdaqian commited on
Commit
f28d0bd
1 Parent(s): 76f22a2
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -14,6 +14,8 @@ RUN clamd restart
14
 
15
  RUN adduser --disabled-password --uid 1000 -S user -G clamav
16
 
 
 
17
  RUN chown user:user /var/lib/clamav/bytecode.cvd
18
  RUN chown user:user /var/lib/clamav/daily.cvd
19
  RUN chown user:user /var/lib/clamav/daily.cvd
 
14
 
15
  RUN adduser --disabled-password --uid 1000 -S user -G clamav
16
 
17
+ RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamav-milter.conf
18
+ RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamd.conf
19
  RUN chown user:user /var/lib/clamav/bytecode.cvd
20
  RUN chown user:user /var/lib/clamav/daily.cvd
21
  RUN chown user:user /var/lib/clamav/daily.cvd