pengdaqian commited on
Commit
92afeb2
1 Parent(s): 52d144f
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -9,6 +9,8 @@ RUN mkdir -p /run/clamav
9
  RUN chmod -R 777 /run/clamav
10
  RUN mkdir -p /var/lib/clamav
11
  RUN chmod -R 777 /var/lib/clamav
 
 
12
 
13
  RUN adduser --disabled-password --uid 1000 -S user -G clamav
14
 
@@ -19,6 +21,7 @@ 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
 
9
  RUN chmod -R 777 /run/clamav
10
  RUN mkdir -p /var/lib/clamav
11
  RUN chmod -R 777 /var/lib/clamav
12
+ RUN mkdir -p /var/log/clamav/clamd.log
13
+ RUN chmod -R 777 /var/log/clamav/clamd.log
14
 
15
  RUN adduser --disabled-password --uid 1000 -S user -G clamav
16
 
 
21
  RUN chown user:clamav /var/lib/clamav/daily.cvd
22
  RUN chown user:clamav /var/lib/clamav/main.cvd
23
  RUN chown user:clamav /var/lib/clamav
24
+
25
  RUN ls -lha /var/lib/clamav
26
 
27
  USER user