Fixed entrypoint permission; Updated image sizes

This commit is contained in:
Quentin McGaw
2018-04-16 14:31:50 -04:00
parent 73c5fe5b2a
commit ce00e3e2b0
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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)