diff --git a/data/Dockerfiles/clamd/Dockerfile b/data/Dockerfiles/clamd/Dockerfile index f381e0ef..e74ae1d4 100644 --- a/data/Dockerfiles/clamd/Dockerfile +++ b/data/Dockerfiles/clamd/Dockerfile @@ -1,21 +1,9 @@ -FROM clamav/clamav:1.0.1-1_base +FROM alpine:3.17 -LABEL maintainer "André Peters " +LABEL maintainer "The Infrastructure Company " -RUN apk upgrade --no-cache \ - && apk add --update --no-cache \ - rsync \ - bind-tools \ - bash +RUN apk update && apk add clamav tini bash -# init -COPY clamd.sh /clamd.sh -RUN chmod +x /sbin/tini +COPY clamd.sh ./ -# 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"] \ No newline at end of file