Skip to content

Docker container to cross compile to windows, linux, and darwin

Notifications You must be signed in to change notification settings

levelrmm/golang-cross

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Golang Cross Compile Docker Image

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/level/golang-cross.

Building

$ docker build -t levelio/golang-cross:x.y.z .

Usage

Open a bash shell and run commands:

$ docker run -it levelio/golang-cross:latest bash

Or use it as a base image to build your own:

FROM levelio/golang-cross:latest

# Write your own Dockerfile

About

Docker container to cross compile to windows, linux, and darwin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published