mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02:00
update
This commit is contained in:
parent
ef01b3fab3
commit
2071535178
@ -2,11 +2,11 @@
|
||||
# Dockerfile for pptpd
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
FROM debian:jessie
|
||||
MAINTAINER kev<noreply@datageek.info>
|
||||
|
||||
RUN apk add -U iptables ppp pptpd \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
RUN apk add -U iptables pptpd \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY pptpd.conf /etc/
|
||||
COPY chap-secrets /etc/ppp/
|
||||
@ -15,8 +15,5 @@ COPY options.pptp /etc/ppp/
|
||||
EXPOSE 1723
|
||||
|
||||
CMD iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
|
||||
&& syslogd \
|
||||
&& pptpd \
|
||||
&& sleep 1 \
|
||||
&& tail -f /var/log/messages
|
||||
&& pptpd --fg
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user