1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
dockerfiles/pptpd/Dockerfile
2015-06-29 03:57:52 +08:00

21 lines
368 B
Docker

#
# Dockerfile for pptpd
#
FROM alpine
MAINTAINER kev<noreply@datageek.info>
RUN apk update \
&& apk add 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 iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
&& pptpd \
&& syslogd -n -O /dev/stdout