You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

18 lines
507 B

FROM node:14-alpine
MAINTAINER David Personette <dperson@gmail.com>
# Install openvpn
RUN apk --no-cache --no-progress upgrade && \
apk --no-cache --no-progress add bash curl ip6tables iptables openvpn \
shadow tini tzdata && \
addgroup -S vpn && \
rm -rf /tmp/*
COPY openvpn.sh /usr/bin/
HEALTHCHECK --interval=60s --timeout=15s --start-period=120s \
CMD curl -LSs 'https://api.ipify.org'
VOLUME ["/vpn"]
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/openvpn.sh"]