Skip to content

Docker, not Vagrant, on Mac (summarize)

Ben Petersen edited this page Mar 20, 2017 · 1 revision

Next, we need to build the appropriate release binaries and images for the server:

Might need the version 1.8

$ export OS_BUILD_ENV_GOLANG=1.8

This is very helpful, little more output

$ export OS_DEBUG=true

WARN=1 is required for Mac on make release for now, see:

$ WARN=1 make release # this take long time.... go get coffee. and maybe a bagel. a nice bagel. We also need to build clients for our Mac environment:

$ OS_BUILD_ENV_PRESERVE=_output/local/bin/darwin/ hack/env OS_BUILD_PLATFORMS=darwin/amd64 make build WHAT=cmd/oc Next, enable the template service broker in the MasterConfig:

make release creates images tagged :latest and with the SHA of the last commit

you may not want the PullAlways behavior from :latest, so instruct cluster up

to use the images tagged with the last SHA:

$ oc cluster up --version="$( git log -1 --pretty=%h )"