rspamd/Dockerfile
2019-06-13 10:22:11 +10:00

22 lines
554 B
Docker

# NAME leenooks/rspamd
# VERSION latest
FROM debian:stretch-slim
RUN apt-get update \
&& apt-get install curl gnupg2 procps -yyq \
&& curl -L https://rspamd.com/apt-stable/gpg.key | apt-key add - \
&& apt-get purge curl gnupg2 -yyq && apt autoremove -yyq \
&& echo "deb http://rspamd.com/apt-stable/ stretch main" > /etc/apt/sources.list.d/rspamd.list \
&& apt-get update \
&& apt-get install rspamd -yyq \
&& rm -rf /var/lib/apt/lists/* /tmp/*
EXPOSE 11332 11333 11334
COPY init /sbin/
# Starting
ENTRYPOINT [ "/sbin/init" ]
CMD [ "start" ]