rspamd (sha256:0f0ad773f31cec0b6c1e95ae60705c3c7e750dc19d7542464d4ab5a2e1c7659b)
Installation
docker pull gitea.nulo.in/sutty/rspamd@sha256:0f0ad773f31cec0b6c1e95ae60705c3c7e750dc19d7542464d4ab5a2e1c7659b
sha256:0f0ad773f31cec0b6c1e95ae60705c3c7e750dc19d7542464d4ab5a2e1c7659b
Image Layers
ADD file:9e193d6fff4bce11c0ee715ad87def9ef40e9608d4be84cf73391edd45b2810e in / |
CMD ["/bin/sh"] |
ARG ALPINE_VERSION=3.19.4 |
ENV LANG=C.UTF-8 |
COPY /usr/share/zoneinfo/UTC /etc/localtime # buildkit |
RUN |1 ALPINE_VERSION=3.19.4 /bin/sh -c echo ${ALPINE_VERSION} | cut -d . -f 1,2 | xargs -I {} echo https://alpine.sutty.nl/alpine/v{}/sutty | tee -a /etc/apk/repositories # buildkit |
RUN |1 ALPINE_VERSION=3.19.4 /bin/sh -c wget https://alpine.sutty.nl/alpine/sutty.pub -O /etc/apk/keys/alpine@sutty.nl-5ea884cd.rsa.pub # buildkit |
LABEL org.opencontainers.image.authors=f@sutty.nl |
ENV EMAIL=monit@sutty.nl |
ENV EMAIL_FROM=monit@sutty.nl |
ENV MMONIT=mmmonit.athshe.sutty.nl |
ENV CREDENTIALS=mmmonit:mmmonit.athshe.sutty.nl |
RUN /bin/sh -c apk add --no-cache tini monit knsupdate # buildkit |
RUN /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d # buildkit |
RUN /bin/sh -c install -dm 2750 -o root -g root /etc/monit.d/external/ # buildkit |
RUN /bin/sh -c install -dm 2750 -o root -g root /var/lib/monit # buildkit |
COPY /etc/monitrc /etc/monitrc # buildkit |
COPY ./nsupdate.sh /usr/local/bin/nsupdate # buildkit |
COPY ./whatsmyip6.sh /usr/local/bin/whatsmyip6 # buildkit |
COPY ./whatsmydefaulteth.sh /usr/local/bin/whatsmydefaulteth # buildkit |
COPY ./syslogize.sh /usr/local/bin/syslogize # buildkit |
COPY ./zeroconf.sh /usr/local/bin/zeroconf # buildkit |
COPY ./zeroconf.conf /etc/zeroconf.conf # buildkit |
EXPOSE map[2812/tcp:{}] |
ENTRYPOINT ["/sbin/tini" "--"] |
CMD ["/usr/bin/monit"] |
LABEL org.opencontainers.image.authors=f@sutty.nl |
ARG REDIS_VERSION=7.2.4 |
RUN |1 REDIS_VERSION=7.2.4 /bin/sh -c apk add --no-cache redis~${REDIS_VERSION} su-exec # buildkit |
COPY /etc/redis.conf /etc/redis.conf # buildkit |
COPY ./monit.conf /etc/monit.d/redis.conf # buildkit |
COPY ./redisd.sh /usr/local/bin/redisd # buildkit |
EXPOSE map[6379/tcp:{}] |
VOLUME [/var/lib/redis] |
LABEL org.opencontainers.image.authors=f@sutty.nl |
ENV MAX_MEMORY=100mb |
RUN /bin/sh -c echo "bind 127.0.0.1 ::1" >> /etc/redis.conf # buildkit |
RUN /bin/sh -c sed -re "/^save \"\"/d" -e "s/^(appendonly) .*/\1 yes/" -e "s/^(maxmemory-policy) .*/\1 volatile-ttl/" -e "s|^(dir) .*|\1 /var/lib/redis|" -i /etc/redis.conf # buildkit |
RUN /bin/sh -c apk add --no-cache rspamd rspamd-client rspamd-proxy rspamd-controller # buildkit |
RUN /bin/sh -c install -dm 755 /etc/rspamd/local.d # buildkit |
RUN /bin/sh -c install -dm 750 -o rspamd -g rspamd /var/lib/rspamd # buildkit |
RUN /bin/sh -c install -dm 750 -o redis -g redis /var/lib/redis # buildkit |
COPY ./dkim_signing.conf /etc/rspamd/local.d/dkim_signing.conf # buildkit |
COPY ./redis.conf /etc/rspamd/local.d/redis.conf # buildkit |
COPY ./worker-proxy.inc /etc/rspamd/local.d/worker-proxy.inc # buildkit |
COPY ./worker-normal.inc /etc/rspamd/local.d/worker-normal.inc # buildkit |
COPY ./worker-controller.inc /etc/rspamd/local.d/worker-controller.inc # buildkit |
COPY ./options.inc /etc/rspamd/local.d/options.inc # buildkit |
COPY ./logging.inc /etc/rspamd/local.d/logging.inc # buildkit |
COPY ./classifier-bayes.conf /etc/rspamd/local.d/classifier-bayes.conf # buildkit |
COPY ./local_addrs /etc/rspamd/local.d/maps.d/local_addrs # buildkit |
COPY ./monit.conf /etc/monit.d/rspamd.conf # buildkit |
EXPOSE map[11332/tcp:{}] |
EXPOSE map[11333/tcp:{}] |
EXPOSE map[11334/tcp:{}] |
VOLUME [/var/lib/redis] |
VOLUME [/var/lib/rspamd] |
Labels
Key | Value |
---|---|
org.opencontainers.image.authors | f@sutty.nl |
org.opencontainers.image.created | 2024-10-29T15:58:46Z |
org.opencontainers.image.revision | cffb67e4ae5a940f205315b05972c298cc39bcfb |
org.opencontainers.image.source | https://gitea.nulo.in/Sutty/containers-rspamd.git |
org.opencontainers.image.url | https://gitea.nulo.in/Sutty/containers-rspamd |
Details
2024-10-29 16:00:41 +00:00
Versions (12)
View all
Container
0
OCI / Docker
linux/amd64
f@sutty.nl
34 MiB