Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

tilt-dev/golang-cross

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Golang Cross Compile Docker Image

UPDATE (2023-06-29)

This repo is obsolete. Tilt now maintains its own releaser image based on crazymax/osxcross.

This repo will be archived.

Original description

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.

  1. Follow instructions here: https://github.com/tpoechtrager/osxcross#packaging-the-sdk for building an OSX SDK.

  2. Copy the SDK under ./tarballs

  3. Run docker build . to build the image