1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 15:24:32 +00:00

Add CNI networking to system-docker

This commit is contained in:
Darren Shepherd
2016-06-28 15:13:45 -07:00
parent 116c147620
commit 0323844ca6
76 changed files with 5603 additions and 35 deletions

22
vendor/github.com/coreos/go-iptables/build generated vendored Executable file
View File

@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -e
ORG_PATH="github.com/coreos"
REPO_PATH="${ORG_PATH}/go-iptables"
if [ ! -h gopath/src/${REPO_PATH} ]; then
mkdir -p gopath/src/${ORG_PATH}
ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255
fi
export GOBIN=${PWD}/bin
export GOPATH=${PWD}/gopath
eval $(go env)
if [ ${GOOS} = "linux" ]; then
echo "Building go-iptables..."
go build ${REPO_PATH}/iptables
else
echo "Not on Linux"
fi