17 lines
368 B
Docker
17 lines
368 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 override.d /etc/rspamd/override.d
|
|
COPY init /sbin/
|
|
|
|
# Starting
|
|
EXPOSE 11332 11333 11334
|
|
ENTRYPOINT [ "/sbin/init" ]
|