docker-OpenVPN/Dockerfile

11 lines
411 B
Docker
Raw Permalink Normal View History

FROM debian:bookworm
2019-04-14 16:38:58 +00:00
MAINTAINER yohan <783b8c87@scimetis.net>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y install openvpn procps iptables
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /etc/openvpn/server/ccd
RUN mkdir -p /etc/openvpn/server/keys
RUN touch /etc/openvpn/server/server.conf
ENTRYPOINT ["/usr/sbin/openvpn"]