Popularity
1.7
Growing
Activity
4.8
-
16
2
1

Programming language: Go
License: MIT License

docker-go-mingw alternatives and similar packages

Based on the "DevOps Tools" category.
Alternatively, view docker-go-mingw alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of docker-go-mingw or a related project?

Add another 'DevOps Tools' Package

README

go-mingw

Docker Hub Docker Hub

Docker image for building Go binaries for Windows with MinGW-w64 toolchain based on Alpine Linux.

The image provides simple cross-compilation environment for windows 32/64bit builds.

Usage

You can pull Docker image with desired Go version from Docker Hub:

docker pull x1unix/go-mingw:latest # or "1.15" for specific Go version

Building Go applications inside container

See project build example [here](example/sqlite-app).

Mount directory with app source and build it:

docker run --rm -it -v /YourPackageSrc:/tmp/build x1unix/go-mingw go build YourPackage

You will get compiled Windows binary.

Local build

You can build image locally with specified Go version:

make image GO_VERSION=1.15.2

Replace 1.15.2 with desired Go version.