mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
add set -ex and remove tmp conf
Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
fbc4b9cabb
commit
c9e406f76c
1 changed files with 4 additions and 2 deletions
|
|
@ -3,6 +3,8 @@ FROM clamav/clamav:1.1.0-1
|
||||||
|
|
||||||
COPY clamav.conf /tmp/clamav.conf
|
COPY clamav.conf /tmp/clamav.conf
|
||||||
|
|
||||||
RUN apk add --no-cache tzdata; \
|
RUN set -ex; \
|
||||||
tee -a /etc/clamav/clamd.conf < /tmp/clamav.conf
|
apk add --no-cache tzdata; \
|
||||||
|
cat /tmp/clamav.conf | tee -a /etc/clamav/clamd.conf; \
|
||||||
|
rm /tmp/clamav.conf
|
||||||
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
LABEL com.centurylinklabs.watchtower.monitor-only="true"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue