forked from dperson/openvpn-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Personette
committed
Apr 10, 2018
1 parent
9d6d03c
commit 2de9a99
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ MAINTAINER David Personette <[email protected]> | |
# Install openvpn | ||
RUN apk --no-cache --no-progress upgrade && \ | ||
apk --no-cache --no-progress add bash curl ip6tables iptables openvpn \ | ||
shadow && \ | ||
shadow tini && \ | ||
addgroup -S vpn && \ | ||
rm -rf /tmp/* | ||
|
||
|
@@ -15,4 +15,4 @@ HEALTHCHECK --interval=60s --timeout=15s --start-period=120s \ | |
|
||
VOLUME ["/vpn"] | ||
|
||
ENTRYPOINT ["openvpn.sh"] | ||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/openvpn.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ MAINTAINER David Personette <[email protected]> | |
RUN ["cross-build-start"] | ||
RUN apk --no-cache --no-progress upgrade && \ | ||
apk --no-cache --no-progress add bash curl ip6tables iptables openvpn \ | ||
shadow && \ | ||
shadow tini && \ | ||
addgroup -S vpn && \ | ||
rm -rf /tmp/* | ||
RUN ["cross-build-end"] | ||
|
@@ -17,4 +17,4 @@ HEALTHCHECK --interval=60s --timeout=15s --start-period=120s \ | |
|
||
VOLUME ["/vpn"] | ||
|
||
ENTRYPOINT ["openvpn.sh"] | ||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/openvpn.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ MAINTAINER David Personette <[email protected]> | |
RUN ["cross-build-start"] | ||
RUN apk --no-cache --no-progress upgrade && \ | ||
apk --no-cache --no-progress add bash curl ip6tables iptables openvpn \ | ||
shadow && \ | ||
shadow tini && \ | ||
addgroup -S vpn && \ | ||
rm -rf /tmp/* | ||
RUN ["cross-build-end"] | ||
|
@@ -17,4 +17,4 @@ HEALTHCHECK --interval=60s --timeout=15s --start-period=120s \ | |
|
||
VOLUME ["/vpn"] | ||
|
||
ENTRYPOINT ["openvpn.sh"] | ||
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/openvpn.sh"] |