$ docker run -it --rm -v $PWD:/go/src/my_project mrmoneyc/golang-xc "go build -v /go/src/my_project/main.go"
$ docker run -it --rm -v $PWD:/go/src/my_project -e PROJECT_SRC=my_project mrmoneyc/golang-xc "go build -v"
$ docker run -it --rm -v $PWD:/go/src/my_project -e CC=arm-linux-gnueabi-gcc -e CGO_ENABLED=1 -e GOOS=linux -e GOARCH=arm mrmoneyc/golang-xc "go build -v /go/src/my_project/main.go"
-
Notifications
You must be signed in to change notification settings - Fork 0
Golang in Docker with Cross Compilation Toolchains
License
mrmoneyc/golang-xc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Golang in Docker with Cross Compilation Toolchains
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published