mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:31 +02:00
update pptpd
This commit is contained in:
parent
b63e81c97e
commit
09f15d569e
@ -5,8 +5,10 @@
|
||||
FROM alpine
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN apk update \
|
||||
&& apk add iptables ppp pptpd \
|
||||
RUN set -xe \
|
||||
&& apk add -U iptables \
|
||||
ppp \
|
||||
pptpd \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
COPY pptpd.conf /etc/
|
||||
@ -15,6 +17,7 @@ COPY pptpd-options /etc/ppp/
|
||||
|
||||
EXPOSE 1723
|
||||
|
||||
CMD iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
|
||||
CMD set -xe \
|
||||
&& iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
|
||||
&& pptpd \
|
||||
&& syslogd -n -O /dev/stdout
|
||||
|
Loading…
Reference in New Issue
Block a user