Created
May 4, 2015 20:25
-
-
Save punund/83f640c7845e149aa7b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN apt-get update | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install postfix postfix-pcre -y --force-yes | |
RUN DEBIAN_FRONTEND=noninteractive apt-get install syslog-ng syslog-ng-core -y --force-yes | |
ADD etc /etc/ | |
RUN cp /etc/resolv.conf /etc/services /var/spool/postfix/etc/ | |
RUN sed -i 's/system();/unix-dgram("\/dev\/log");/' /etc/syslog-ng/syslog-ng.conf | |
ADD run /usr/local/bin/run | |
RUN chmod +x /usr/local/bin/run | |
EXPOSE 25 | |
CMD ["/usr/local/bin/run"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment