rspamd/Dockerfile
2023-06-04 16:36:44 +10:00

18 lines
475 B
Docker

# NAME leenooks/rspamd
# VERSION latest
FROM alpine
# Change to http respositories, so they we can cache the install packages
RUN if [ -n ${HTTP_PROXY} ] ; then sed -i -e s'/https/http/' /etc/apk/repositories; fi
RUN apk add --no-cache rspamd
COPY rspamd-dqs/3.x/rbl.conf rspamd-dqs/3.x/rbl_group.conf rspamd-dqs/3.x/rspamd.local.lua /usr/local/dqs/
COPY override.d /etc/rspamd/override.d
COPY init /sbin/
# Starting
EXPOSE 11332 11333 11334
ENTRYPOINT [ "/sbin/init" ]