11 lines
411 B
Docker
11 lines
411 B
Docker
FROM debian:bookworm
|
|
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"]
|