rspamd/Dockerfile

22 lines
554 B
Docker
Raw Normal View History

2017-07-23 09:36:36 +00:00
# NAME leenooks/rspamd
# VERSION latest
2019-06-13 00:22:11 +00:00
FROM debian:stretch-slim
2017-07-23 09:36:36 +00:00
2018-01-30 23:14:07 +00:00
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/*
2017-07-23 09:36:36 +00:00
EXPOSE 11332 11333 11334
COPY init /sbin/
# Starting
ENTRYPOINT [ "/sbin/init" ]
CMD [ "start" ]