2023-08-04 16:54:43 +00:00
|
|
|
FROM debian:bullseye
|
2019-11-25 16:06:57 +00:00
|
|
|
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"]
|