Fixed Dockerfile chmod +x

This commit is contained in:
Quentin McGaw
2018-02-07 14:13:45 -05:00
parent c538e67580
commit ebbb281280
2 changed files with 1 additions and 1 deletions

View File

@@ -6,5 +6,6 @@ WORKDIR /pia
RUN curl https://www.privateinternetaccess.com/openvpn/openvpn.zip > openvpn.zip && unzip openvpn.zip && rm openvpn.zip RUN curl https://www.privateinternetaccess.com/openvpn/openvpn.zip > openvpn.zip && unzip openvpn.zip && rm openvpn.zip
RUN apk del curl unzip RUN apk del curl unzip
COPY script.sh ./ COPY script.sh ./
RUN chmod +x script.sh
ENV REGION="Romania" ENV REGION="Romania"
ENTRYPOINT ["/pia/script.sh"] ENTRYPOINT ["/pia/script.sh"]

View File

@@ -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 ! 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`): 5. Run the container as a daemon in the background with (and change the `/yourhostpath/auth.conf`):
```bash ```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 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
``` ```