Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
·
ee94879
1
Parent(s):
6c91f37
change
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -14,11 +14,11 @@ RUN clamd restart
|
|
14 |
|
15 |
RUN adduser --disabled-password --uid 1000 user -G clamav
|
16 |
|
17 |
-
RUN chown clamav
|
18 |
-
RUN chown clamav
|
19 |
-
RUN chown clamav
|
20 |
-
RUN chown clamav
|
21 |
-
RUN chown clamav
|
22 |
RUN ls -lha /var/lib/clamav
|
23 |
|
24 |
USER user
|
|
|
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
|