From ce00e3e2b03bfc2aea15043d208b5108476ca8f3 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Mon, 16 Apr 2018 14:31:50 -0400 Subject: [PATCH] Fixed entrypoint permission; Updated image sizes --- Dockerfile | 7 ++++--- README.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index b6e24475..45ff9ed4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM alpine:3.7 LABEL maintainer="quentin.mcgaw@gmail.com" \ description="VPN client to private internet access servers using OpenVPN, Alpine and Cloudflare 1.1.1.1 DNS over TLS" \ - download="5.4MB" \ - size="13MB" \ + download="5.9MB" \ + size="13.5MB" \ ram="11.89MB" \ cpu_usage="Low to medium" \ github="https://github.com/qdm12/private-internet-access-docker" @@ -20,7 +20,7 @@ RUN apk add -q --progress --no-cache --update openvpn unbound ca-certificates && apk del -q --progress --purge build-dependencies && \ rm -rf /*.zip /etc/unbound/unbound.conf /var/cache/apk/* COPY unbound.conf /etc/unbound/unbound.conf -HEALTHCHECK --interval=10m --timeout=3s --start-period=5s --retries=1 \ +HEALTHCHECK --interval=10m --timeout=5s --start-period=10s --retries=1 \ CMD VPNCITY=$(wget -qO- -T 2 https://ipinfo.io/city); \ VPNORGANIZATION=$(wget -qO- -T 2 https://ipinfo.io/org); \ printf "\nCity: $VPNCITY\nOrganization: $VPNORGANIZATION"; \ @@ -29,4 +29,5 @@ ENV ENCRYPTION=strong \ PROTOCOL=tcp \ REGION=Switzerland COPY entrypoint.sh / +RUN chmod +x /entrypoint.sh ENTRYPOINT /entrypoint.sh diff --git a/README.md b/README.md index 1a89142e..44a08261 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Optionally set the protocol (TCP, UDP) and the level of encryption using Docker | Download size | Image size | RAM usage | CPU usage | | --- | --- | --- | --- | -| 5.4MB | 13MB | 11.89MB | Low to Medium | +| 5.9MB | 13.5MB | 11.89MB | Low to Medium | It is based on: - [Alpine 3.7](https://alpinelinux.org)