Sign inSign up

c12o16h1/golang_builder

By c12o16h1

•Updated over 6 years ago

Image to build golang apps with gcc for ubuntu 16.04

Image
0

986

c12o16h1/golang_builder repository overview

NOTE: You'll need this image ONLY if your app contain raw "C" code, which should be compiled with 'gcc' on linux:amd64. For all other cases "GOOS" and "GOARCH" working fine.

Example of usage: Execute thin command in where you usually execute go build command. This will build app compatible for linux:amd64 architecture:

docker run --rm -it -v "$(PWD)":/sources -w="/sources" c12o16h1/golang_builder /bin/bash -c "source ~/.profile; go build -o ./bin/tmbot; exit"

Tag summary

Content type

Image

Digest

Size

236.3 MB

Last updated

over 6 years ago

docker pull c12o16h1/golang_builder