pengdaqian commited on
Commit
76f22a2
·
1 Parent(s): ee94879
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -12,13 +12,13 @@ RUN chmod -R 777 /var/lib/clamav
12
 
13
  RUN clamd restart
14
 
15
- RUN adduser --disabled-password --uid 1000 user -G clamav
16
 
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
 
12
 
13
  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
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