[Dockerfiles] Use COPY instead of ADD
This commit is contained in:
parent
9762176810
commit
a06bac6739
@ -40,5 +40,5 @@ VOLUME ["/var/lib/clamav"]
|
|||||||
EXPOSE 3310
|
EXPOSE 3310
|
||||||
|
|
||||||
# av daemon bootstrapping
|
# av daemon bootstrapping
|
||||||
ADD bootstrap.sh /
|
COPY bootstrap.sh /
|
||||||
CMD ["/bootstrap.sh"]
|
CMD ["/bootstrap.sh"]
|
||||||
|
@ -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
|
RUN echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspamd.conf.local
|
||||||
|
|
||||||
ADD settings.conf /etc/rspamd/modules.d/settings.conf
|
COPY settings.conf /etc/rspamd/modules.d/settings.conf
|
||||||
ADD antivirus.conf /etc/rspamd/modules.d/antivirus.conf
|
COPY antivirus.conf /etc/rspamd/modules.d/antivirus.conf
|
||||||
|
|
||||||
RUN pip install -U oletools
|
RUN pip install -U oletools
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user