tilt-dev / golang-cross

Home Page:https://hub.docker.com/r/dockercore/golang-cross

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://hub.docker.com/r/dockercore/golang-cross


Languages

Language:Dockerfile 100.0%