forked from dperson/openvpn-client
-
-
Notifications
You must be signed in to change notification settings - Fork 196
/
Dockerfile
24 lines (21 loc) · 851 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ghcr.io/linuxserver/baseimage-ubuntu:jammy
LABEL maintainer="Julio Gutierrez julio.guti+nordvpn@pm.me"
ARG NORDVPN_VERSION=3.17.4
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y && \
apt-get install -y curl iputils-ping libc6 wireguard && \
curl https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn-release_1.0.0_all.deb --output /tmp/nordrepo.deb && \
apt-get install -y /tmp/nordrepo.deb && \
apt-get update -y && \
apt-get install -y nordvpn${NORDVPN_VERSION:+=$NORDVPN_VERSION} && \
apt-get remove -y nordvpn-release && \
apt-get autoremove -y && \
apt-get autoclean -y && \
rm -rf \
/tmp/* \
/var/cache/apt/archives/* \
/var/lib/apt/lists/* \
/var/tmp/*
COPY /rootfs /
ENV S6_CMD_WAIT_FOR_SERVICES=1
CMD nord_login && nord_config && nord_connect && nord_migrate && nord_watch