Spaces:
Sleeping
Sleeping
pengdaqian
commited on
Commit
•
c2a55f1
1
Parent(s):
b724d26
change
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -12,17 +12,17 @@ RUN chmod -R 777 /var/lib/clamav
|
|
12 |
RUN mkdir -p /var/log/clamav
|
13 |
RUN chmod -R 777 /var/log/clamav
|
14 |
|
15 |
-
RUN adduser --disabled-password --uid 1000
|
16 |
|
17 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamav-milter.conf
|
18 |
RUN cat /etc/clamav/clamav-milter.conf
|
19 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamd.conf
|
20 |
RUN cat /etc/clamav/clamd.conf
|
21 |
-
RUN chown user:
|
22 |
-
RUN chown user:
|
23 |
-
RUN chown user:
|
24 |
-
RUN chown user:
|
25 |
-
RUN chown user:
|
26 |
|
27 |
RUN ls -lha /var/lib/clamav
|
28 |
|
|
|
12 |
RUN mkdir -p /var/log/clamav
|
13 |
RUN chmod -R 777 /var/log/clamav
|
14 |
|
15 |
+
RUN adduser --disabled-password --uid 1000 user
|
16 |
|
17 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamav-milter.conf
|
18 |
RUN cat /etc/clamav/clamav-milter.conf
|
19 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamd.conf
|
20 |
RUN cat /etc/clamav/clamd.conf
|
21 |
+
RUN chown user:user /var/lib/clamav/bytecode.cvd
|
22 |
+
RUN chown user:user /var/lib/clamav/daily.cvd
|
23 |
+
RUN chown user:user /var/lib/clamav/daily.cvd
|
24 |
+
RUN chown user:user /var/lib/clamav/main.cvd
|
25 |
+
RUN chown user:user /var/lib/clamav
|
26 |
|
27 |
RUN ls -lha /var/lib/clamav
|
28 |
|