OpenDKIM is an open source implementation of the DKIM (Domain Keys Identified Mail) sender authentication system proposed by the E-mail Signing Technology Group (ESTG)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile.debian 1.1KB

1234567891011121314151617181920212223242526272829303132333435
  1. FROM debian:stretch
  2. MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
  3. # To avoid problems with Dialog and curses wizards
  4. ENV DEBIAN_FRONTEND noninteractive
  5. # Workaround the apt-get slowness when running grsecurity kernel
  6. # ulimit -n 1024
  7. RUN apt-get update && \
  8. apt-get -y install opendkim runit curl make gcc
  9. # Compile socklog
  10. ENV SOCKLOG_NAME "socklog-2.1.0"
  11. ENV SOCKLOG_HASH "aa869a787ee004da4e5509b5a0031bcc17a4ab4ac650c2ce8d4e488123acb455"
  12. RUN cd /opt && \
  13. curl -#L -o $SOCKLOG_NAME.tar.gz http://smarden.org/socklog/$SOCKLOG_NAME.tar.gz && \
  14. sha256sum $SOCKLOG_NAME.tar.gz |grep -qw $SOCKLOG_HASH && \
  15. tar xf $SOCKLOG_NAME.tar.gz && \
  16. rm -f $SOCKLOG_NAME.tar.gz && \
  17. cd admin/$SOCKLOG_NAME && \
  18. package/install && \
  19. package/install-man
  20. RUN rm -vf /etc/service/socklog-klog /etc/service/socklog-unix
  21. #RUN useradd -r -m -d /var/run/opendkim -s /bin/false opendkim
  22. # tzdata - so that TZ environment variable gets processed
  23. # rsyslog - to log postfix service into /var/log/mail.log file
  24. COPY service /etc/service/
  25. RUN find /etc/service -xdev -type f -name "run" -exec chmod +x '{}' \;
  26. ENTRYPOINT runsvdir -P /etc/service