exherbo-dockermail/opendkim/Dockerfile
Val 7a05a328b4 Improve modular setup for DKIM
Start Amavis integration
2015-07-12 23:54:35 +01:00

24 lines
481 B
Docker

FROM ubuntu:14.10
ENV DEBIAN_FRONTEND noninteractive
RUN locale-gen en_GB en_GB.UTF-8 && dpkg-reconfigure locales
# Prerequisites
RUN apt-get update && apt-get install -y \
opendkim && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Nice place for your settings
VOLUME ["/mail_settings"]
# Configure boot script
COPY boot /
RUN chmod 755 /boot
ENV OPEN_DKIM=true
EXPOSE 8891
ENTRYPOINT /boot; service rsyslog start; opendkim -f -p inet:8891