You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
486 B
23 lines
486 B
4 years ago
|
FROM debian:9
|
||
|
|
||
|
LABEL maintainer="Meliurwen <meliruwen@gmail.com>"
|
||
|
|
||
|
ADD ./bin /bin
|
||
|
|
||
|
RUN apt-get -q update && apt-get -qq install procps dnsutils \
|
||
|
ca-certificates gnupg openvpn iptables openssl wget ca-certificates curl && \
|
||
|
rm -rf /var/lib/apt/lists/* && \
|
||
|
chmod a+x /bin/* && \
|
||
|
mkdir -p /var/log/openvpn && \
|
||
|
apt-get autoremove --purge && \
|
||
|
apt-get clean
|
||
|
|
||
|
VOLUME ["/etc/openvpn"]
|
||
|
VOLUME ["/root"]
|
||
|
|
||
|
EXPOSE 1195/udp
|
||
|
|
||
|
WORKDIR /etc/openvpn
|
||
|
|
||
|
ENTRYPOINT ["start.sh"]
|