From a06bac673948d3911e9c81e562c321357bce333f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=A4ufl?= Date: Tue, 7 Mar 2017 15:44:37 +0100 Subject: [PATCH] [Dockerfiles] Use COPY instead of ADD --- data/Dockerfiles/clamav/Dockerfile | 2 +- data/Dockerfiles/rspamd/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/Dockerfiles/clamav/Dockerfile b/data/Dockerfiles/clamav/Dockerfile index 40954bc7..5fc44d9a 100755 --- a/data/Dockerfiles/clamav/Dockerfile +++ b/data/Dockerfiles/clamav/Dockerfile @@ -40,5 +40,5 @@ VOLUME ["/var/lib/clamav"] EXPOSE 3310 # av daemon bootstrapping -ADD bootstrap.sh / +COPY bootstrap.sh / CMD ["/bootstrap.sh"] diff --git a/data/Dockerfiles/rspamd/Dockerfile b/data/Dockerfiles/rspamd/Dockerfile index d2722004..70a0bbab 100644 --- a/data/Dockerfiles/rspamd/Dockerfile +++ b/data/Dockerfiles/rspamd/Dockerfile @@ -16,8 +16,8 @@ RUN apt-key adv --fetch-keys http://rspamd.com/apt-stable/gpg.key \ RUN echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspamd.conf.local -ADD settings.conf /etc/rspamd/modules.d/settings.conf -ADD antivirus.conf /etc/rspamd/modules.d/antivirus.conf +COPY settings.conf /etc/rspamd/modules.d/settings.conf +COPY antivirus.conf /etc/rspamd/modules.d/antivirus.conf RUN pip install -U oletools