The requirements to build Machine are:
- A running instance of Docker or a Golang 1.5.2 development environment
- The
bash
shell - Make
To build the docker-machine-hypriot
binary using containers, simply run:
$ make build
Make sure the source code directory is under a correct directory structure to use Go 1.5 vendoring;
example of cloning and preparing the correct environment GOPATH
:
mkdir docker-machine-hypriot
cd docker-machine-hypriot
export GOPATH="$PWD"
go get github.com/hypriot/docker-machine-hypriot
cd src/github.com/hypriot/docker-machine-hypriot
At this point, simply run:
$ make build-local