pengdaqian commited on
Commit
52d144f
1 Parent(s): f12664e
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -14,11 +14,11 @@ RUN adduser --disabled-password --uid 1000 -S user -G clamav
14
 
15
  RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamav-milter.conf
16
  RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamd.conf
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
20
- #RUN chown user:user /var/lib/clamav/main.cvd
21
- #RUN chown user:user /var/lib/clamav
22
  RUN ls -lha /var/lib/clamav
23
 
24
  USER user
 
14
 
15
  RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamav-milter.conf
16
  RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamd.conf
17
+ RUN chown user:clamav /var/lib/clamav/bytecode.cvd
18
+ RUN chown user:clamav /var/lib/clamav/daily.cvd
19
+ RUN chown user:clamav /var/lib/clamav/daily.cvd
20
+ RUN chown user:clamav /var/lib/clamav/main.cvd
21
+ RUN chown user:clamav /var/lib/clamav
22
  RUN ls -lha /var/lib/clamav
23
 
24
  USER user