rspamd/Dockerfile

18 lines
374 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
ADD rspamd.conf.local.override /etc/rspamd/
2017-07-23 09:36:36 +00:00
EXPOSE 11332 11333 11334
COPY init /sbin/
# Starting
ENTRYPOINT [ "/sbin/init" ]