[Dockerfiles] Rename some files and create hook points

This commit is contained in:
andryyy
2019-10-18 12:01:47 +02:00
parent b02f73e68e
commit b0711db489
17 changed files with 53 additions and 13 deletions

View File

@@ -55,7 +55,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& adduser --system --no-create-home --home /var/lib/clamav --uid 700 --gid 700 --disabled-login clamav \
&& rm -rf /tmp/* /var/tmp/*
COPY bootstrap.sh ./
COPY clamd.sh ./
COPY tini /sbin/tini
CMD ["/sbin/tini", "-g", "--", "/bootstrap.sh"]
CMD ["/sbin/tini", "-g", "--", "/clamd.sh"]