# # Dockerfile for pptpd # FROM alpine MAINTAINER kev RUN set -xe \ && apk add -U iptables \ ppp \ pptpd \ && rm -rf /var/cache/apk/* COPY pptpd.conf /etc/ COPY chap-secrets /etc/ppp/ COPY pptpd-options /etc/ppp/ EXPOSE 1723 CMD set -xe \ && iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \ && pptpd \ && syslogd -n -O /dev/stdout