mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-14 10:52:49 +02:00
21 lines
438 B
Docker
21 lines
438 B
Docker
FROM clamav/clamav:0.105.0_base
|
|
|
|
LABEL maintainer "André Peters <andre.peters@servercow.de>"
|
|
|
|
RUN apk upgrade --no-cache \
|
|
&& apk add --update --no-cache \
|
|
rsync \
|
|
bind-tools \
|
|
bash
|
|
|
|
# init
|
|
COPY clamd.sh /clamd.sh
|
|
RUN chmod +x /sbin/tini
|
|
|
|
# healthcheck
|
|
COPY healthcheck.sh /healthcheck.sh
|
|
RUN chmod +x /healthcheck.sh
|
|
HEALTHCHECK --start-period=6m CMD "/healthcheck.sh"
|
|
|
|
ENTRYPOINT []
|
|
CMD ["/sbin/tini", "-g", "--", "/clamd.sh"] |