docker-l2tp-client/Dockerfile
2019-11-25 17:06:57 +01:00

12 lines
355 B
Docker

FROM debian:buster
MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Paris
RUN apt-get update && apt-get -y install xl2tpd
COPY xl2tpd.conf /etc/xl2tpd/
COPY options.l2tpd /etc/ppp/
COPY route.sh /etc/ppp/ip-pre-up
RUN chmod +x /etc/ppp/ip-pre-up
RUN mkdir -p /var/run/xl2tpd/
ENTRYPOINT ["/usr/sbin/xl2tpd", "-D"]