-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from MassMesh/add-support-for-yggdrasil-0.4.0
Switch to using GRE tunnels (yggdrasil 0.4.0+ only)
- Loading branch information
Showing
7 changed files
with
349 additions
and
330 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 |
---|---|---|
|
@@ -2,10 +2,16 @@ FROM golang:alpine | |
|
||
LABEL maintainer "Ward Vandewege <[email protected]>" | ||
|
||
# from yggdrasil 0.3.16, the post-install script tries to do `modprobe tun` which | ||
# doesn't work in our docker build environment (no /lib/modules directory that matches | ||
# the host kernel). So, we add || true to the apk commands (apparently subsequent apk | ||
# commands also exit with an error code). | ||
RUN set -ex \ | ||
&& apk --no-cache add \ | ||
yggdrasil --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \ | ||
&& apk --no-cache add bash build-base | ||
yggdrasil --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community || true \ | ||
&& apk --no-cache add bash build-base || true | ||
|
||
RUN apk --no-cache add iptables || true | ||
|
||
COPY run-tests.sh /usr/bin/ | ||
|
||
|
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
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
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
Oops, something went wrong.