rspamd/Dockerfile
2017-07-23 19:36:36 +10:00

24 lines
563 B
Docker

# NAME leenooks/rspamd
# VERSION latest
# BUILD docker build -t="leenooks/rspamd" .
# START docker run -d ...
# CRON docker exec -it rspamd ...
FROM registry.leenooks.net/leenooks/base:7.E
RUN yum -y install wget && yum clean all && wget -O /etc/yum.repos.d/rspamd.repo http://rspamd.com/rpm-stable/centos-7/rspamd.repo && rpm --import http://rspamd.com/rpm-stable/gpg.key
# EPEL & Leenooks packages
RUN yum -y install \
rmilter \
rspamd \
&& yum clean all
EXPOSE 11332 11333 11334
COPY init /sbin/
# Starting
ENTRYPOINT [ "/sbin/init" ]
CMD [ "start" ]