mirror of
https://github.com/ilteoood/docker-surfshark.git
synced 2025-12-24 14:11:43 +01:00
Update Dockerfile
This commit is contained in:
committed by
GitHub
parent
1108c3c8bf
commit
e44dd5983c
@@ -1,16 +1,15 @@
|
||||
FROM alpine:latest
|
||||
LABEL maintainer.name="Matteo Pietro Dazzi" \
|
||||
maintainer.email="matteopietro.dazzi@gmail.com" \
|
||||
version="1.0.2" \
|
||||
version="1.0.3" \
|
||||
description="OpenVPN client configured for SurfShark VPN"
|
||||
WORKDIR /vpn
|
||||
ENV SURFSHARK_USER=
|
||||
ENV SURFSHARK_PASSWORD=
|
||||
ENV SURFSHARK_COUNTRY=
|
||||
ENV SURFSHARK_CITY=
|
||||
ENV CONNECTION_TYPE=tcp
|
||||
HEALTHCHECK --interval=60s --timeout=10s --start-period=30s CMD curl -L 'https://ipinfo.io'
|
||||
RUN apk add --update --no-cache openvpn wget unzip coreutils curl
|
||||
WORKDIR /vpn
|
||||
COPY startup.sh .
|
||||
RUN chmod +x ./startup.sh
|
||||
RUN apk add --update --no-cache openvpn wget unzip coreutils curl && chmod +x ./startup.sh
|
||||
ENTRYPOINT [ "./startup.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user