The most reliable way to build flannel is by using Docker.
To build flannel in a container run
You will now have a
flanneld-amd64 binary in the
sudo apt-get install linux-libc-dev golang gcc.
sudo yum install kernel-headers golang gcc.
cd $GOPATH/src; git clone https://github.com/coreos/flannel.git
cd flannel; CGO_ENABLED=1 make dist/flanneld
distto the GitHub release.
make docker-push-allto push all the images to a registry.
A new build of flannel is created for every commit to master. They can be obtained from https://quay.io/repository/coreos/flannel-git
latestis always the current HEAD of master. Use with caution
These builds can be useful when a particular commit is needed for a specific feature or bugfix.
NOTE: the image name is
quay.io/coreos/flannel-git for master builds. Releases are named
quay.io/coreos/flannel (there is no