Sign inSign up

thde/golang-cc

By thde

•Updated over 8 years ago

A docker container for crosscompiling golang apps.

Image
0

933

thde/golang-cc repository overview

⁠golang cross compile container

Docker Build Status

⁠Run

To build an app:

docker run --rm -v `pwd`:"/go/src/app" -e APP_NAME=example-app -t thde/golang-cc

To submit arguments (paralell build for example):

docker run --rm -v `pwd`:"/go/src/app" -e APP_NAME=example-app -t thde/golang-cc cc -j 2

To only build the windows executables:

docker run --rm -v `pwd`:"/go/src/app" -e APP_NAME=example-app -t thde/golang-cc cc windows

Tag summary

Content type

Image

Digest

Size

253.9 MB

Last updated

over 8 years ago

docker pull thde/golang-cc