mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-19 11:57:56 +08: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
|
||||
|
||||
RUN apk add --no-cache tzdata; \
|
||||
tee -a /etc/clamav/clamd.conf < /tmp/clamav.conf
|
||||
RUN set -ex; \
|
||||
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"
|
||||
|
|
Loading…
Reference in a new issue