Spaces:
Runtime error
Runtime error
pengdaqian
commited on
Commit
·
9dfaddc
1
Parent(s):
f28d0bd
change
Browse files- Dockerfile +7 -7
Dockerfile
CHANGED
@@ -10,19 +10,19 @@ RUN chmod -R 777 /run/clamav
|
|
10 |
RUN mkdir -p /var/lib/clamav
|
11 |
RUN chmod -R 777 /var/lib/clamav
|
12 |
|
13 |
-
RUN clamd restart
|
14 |
-
|
15 |
RUN adduser --disabled-password --uid 1000 -S user -G clamav
|
16 |
|
17 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamav-milter.conf
|
18 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamd.conf
|
19 |
-
RUN chown user:user /var/lib/clamav/bytecode.cvd
|
20 |
-
RUN chown user:user /var/lib/clamav/daily.cvd
|
21 |
-
RUN chown user:user /var/lib/clamav/daily.cvd
|
22 |
-
RUN chown user:user /var/lib/clamav/main.cvd
|
23 |
-
RUN chown user:user /var/lib/clamav
|
24 |
RUN ls -lha /var/lib/clamav
|
25 |
|
|
|
|
|
26 |
USER user
|
27 |
|
28 |
ENV HOME=/home/user \
|
|
|
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 |
|
15 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamav-milter.conf
|
16 |
RUN sed -i 's/User clamav/User user/g' /etc/clamav/clamd.conf
|
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 |
+
RUN clamd restart
|
25 |
+
|
26 |
USER user
|
27 |
|
28 |
ENV HOME=/home/user \
|