This repo is obsolete. Tilt now maintains its own releaser image based on crazymax/osxcross.
This repo will be archived.
This repo contains a Dockerfile for building an image which is used to cross compile golang. It includes the MinGW compiler for windows, and an OSX SDK.
This image is available from https://hub.docker.com/r/dockercore/golang-cross and is used to build https://github.com/docker/cli.
-
Follow instructions here: https://github.com/tpoechtrager/osxcross#packaging-the-sdk for building an OSX SDK.
-
Copy the SDK under ./tarballs
-
Run
docker build .
to build the image