rspamd/Dockerfile

17 lines
368 B
Docker
Raw Normal View History

2017-07-23 09:36:36 +00:00
# NAME leenooks/rspamd
# VERSION latest
2023-05-16 14:18:41 +00:00
FROM alpine
2017-07-23 09:36:36 +00:00
2023-05-16 14:18:41 +00:00
# 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
2017-07-23 09:36:36 +00:00
2023-05-16 14:18:41 +00:00
RUN apk add --no-cache rspamd
2023-05-21 10:51:55 +00:00
COPY override.d /etc/rspamd/override.d
2017-07-23 09:36:36 +00:00
COPY init /sbin/
# Starting
2023-05-21 10:51:55 +00:00
EXPOSE 11332 11333 11334
2017-07-23 09:36:36 +00:00
ENTRYPOINT [ "/sbin/init" ]