forked from walterl/proton-privoxy
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 717 Bytes
/
Dockerfile
File metadata and controls
27 lines (22 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM alpine:3.16
LABEL maintainer="Walter Leibbrandt"
LABEL version="0.4.3"
# XXX Copy version to Docker image tag in .github/workflows/docker.yml when changing!
EXPOSE 8080
ARG PVPN_CLI_VER=2.2.12
ENV PVPN_USERNAME= \
PVPN_USERNAME_FILE= \
PVPN_PASSWORD= \
PVPN_PASSWORD_FILE= \
PVPN_TIER=2 \
PVPN_PROTOCOL=udp \
PVPN_CMD_ARGS="connect --fastest" \
PVPN_DEBUG= \
HOST_NETWORK= \
DNS_SERVERS_OVERRIDE=
COPY app /app
COPY pvpn-cli /root/.pvpn-cli
RUN apk --update add coreutils openvpn privoxy procps python3 runit git ip6tables \
&& python3 -m ensurepip \
&& pip3 install git+https://github.com/Rafficer/linux-cli-community.git@v$PVPN_CLI_VER
CMD ["runsvdir", "/app"]