1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/pptpd/Dockerfile

19 lines
335 B
Docker
Raw Normal View History

2015-06-27 10:32:24 +00:00
#
# Dockerfile for pptpd
#
2015-06-28 03:12:07 +00:00
# WARNING: I ONLY WORKS IN NET:HOST MODE
#
2015-06-27 10:32:24 +00:00
2015-06-28 02:18:47 +00:00
FROM debian:jessie
2015-06-27 10:32:24 +00:00
MAINTAINER kev<noreply@datageek.info>
2015-06-28 02:21:57 +00:00
RUN apt-get update \
2015-06-28 03:42:35 +00:00
&& apt-get install -y iptables pptpd \
2015-06-28 02:18:47 +00:00
&& rm -rf /var/lib/apt/lists/*
2015-06-27 10:32:24 +00:00
2015-06-28 03:42:35 +00:00
COPY pptpd.conf /etc/
COPY chap-secrets /etc/ppp/
2015-06-28 03:12:07 +00:00
COPY pptpd-options /etc/ppp/
2015-06-27 10:32:24 +00:00
2015-06-28 03:12:07 +00:00
CMD ["pptpd", "--fg"]