Skip to content

Commit

Permalink
Merge pull request #47 from betterphp/issue-6
Browse files Browse the repository at this point in the history
Use up to date version of Proton CLI, fixes #6
  • Loading branch information
walterl authored Mar 17, 2024
2 parents 33c9b01 + 9afce93 commit a712d8f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM alpine:3.16
LABEL maintainer="Walter Leibbrandt"
LABEL version="0.4.2"
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= \
Expand All @@ -19,8 +20,8 @@ ENV PVPN_USERNAME= \
COPY app /app
COPY pvpn-cli /root/.pvpn-cli

RUN apk --update add coreutils openvpn privoxy procps python3 runit \
RUN apk --update add coreutils openvpn privoxy procps python3 runit git \
&& python3 -m ensurepip \
&& pip3 install protonvpn-cli
&& pip3 install git+https://github.com/Rafficer/linux-cli-community.git@v$PVPN_CLI_VER

CMD ["runsvdir", "/app"]

0 comments on commit a712d8f

Please sign in to comment.