From ebbb281280a4c01009e41f1690d02706ad07930f Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Wed, 7 Feb 2018 14:13:45 -0500 Subject: [PATCH] Fixed Dockerfile chmod +x --- Dockerfile | 1 + README.md | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7dea2cd5..934ef54e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,6 @@ WORKDIR /pia RUN curl https://www.privateinternetaccess.com/openvpn/openvpn.zip > openvpn.zip && unzip openvpn.zip && rm openvpn.zip RUN apk del curl unzip COPY script.sh ./ +RUN chmod +x script.sh ENV REGION="Romania" ENTRYPOINT ["/pia/script.sh"] \ No newline at end of file diff --git a/README.md b/README.md index a1d0ac54..886afdc5 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,6 @@ The PIA configuration files are downloaded from [the PIA website](https://www.pr ``` If the displayed IP address appears and is different that your host IP address, your PIA OpenVPN client works ! 5. Run the container as a daemon in the background with (and change the `/yourhostpath/auth.conf`): - ```bash sudo docker run -d --restart=always --name=pia --cap-add=NET_ADMIN --device=/dev/net/tun --dns 209.222.18.222 --dns 209.222.18.218 -e 'REGION=Romania' -v '/yourhostpath/auth.conf:/pia/auth.conf' qmcgaw/private-internet-access ```