Skip to content

Commit

Permalink
Dockerfile.aarch64 initial add
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed Feb 25, 2018
1 parent 2f536f7 commit 9d6d03c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM resin/aarch64-alpine
MAINTAINER David Personette <[email protected]>

# Install openvpn
RUN ["cross-build-start"]
RUN apk --no-cache --no-progress upgrade && \
apk --no-cache --no-progress add bash curl ip6tables iptables openvpn \
shadow && \
addgroup -S vpn && \
rm -rf /tmp/*
RUN ["cross-build-end"]

COPY openvpn.sh /usr/bin/

HEALTHCHECK --interval=60s --timeout=15s --start-period=120s \
CMD curl -L 'https://api.ipify.org'

VOLUME ["/vpn"]

ENTRYPOINT ["openvpn.sh"]

0 comments on commit 9d6d03c

Please sign in to comment.