# 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 ADD rspamd.conf.local.override /etc/rspamd/ EXPOSE 11332 11333 11334 COPY init /sbin/ # Starting ENTRYPOINT [ "/sbin/init" ]