Docker image based on centos:latest which builds Kubernetes from scratch upon start and moves binaries to /target
.
I need an easy way to install Kubernetes on CoreOS.
Whenever the container is run, it builds the latest Kubernetes binaries and moves them to the /target
volume (any existing binaries will get overwritten).
So, to install or update Kubernetes, i.e. within /opt/kubernetes
, just run
docker run --rm -v /opt/kubernetes:/target digitalwonderland/kubernetes
To build a specific branch just pass its name as parameter. If none is passed the master
branch gets build.