A docker container for crosscompiling golang apps.
933
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
Content type
Image
Digest
Size
253.9 MB
Last updated
over 8 years ago
docker pull thde/golang-cc