Spaces:
Sleeping
Sleeping
pengdaqian
commited on
Commit
•
af28c56
1
Parent(s):
4e4d37d
change
Browse files- Dockerfile +7 -5
Dockerfile
CHANGED
@@ -13,11 +13,13 @@ RUN chmod -R 777 /var/lib/clamav
|
|
13 |
RUN clamd restart
|
14 |
|
15 |
RUN adduser --disabled-password --uid 1000 user
|
16 |
-
RUN
|
17 |
-
|
18 |
-
RUN chown
|
19 |
-
RUN chown
|
20 |
-
RUN chown
|
|
|
|
|
21 |
RUN ls -lha /var/lib/clamav
|
22 |
|
23 |
USER user
|
|
|
13 |
RUN clamd restart
|
14 |
|
15 |
RUN adduser --disabled-password --uid 1000 user
|
16 |
+
RUN addgroup -S clamav && adduser -S user -G clamav
|
17 |
+
|
18 |
+
RUN chown clamav:user /var/lib/clamav/bytecode.cvd
|
19 |
+
RUN chown clamav:user /var/lib/clamav/daily.cvd
|
20 |
+
RUN chown clamav:user /var/lib/clamav/daily.cvd
|
21 |
+
RUN chown clamav:user /var/lib/clamav/main.cvd
|
22 |
+
RUN chown clamav:user /var/lib/clamav
|
23 |
RUN ls -lha /var/lib/clamav
|
24 |
|
25 |
USER user
|