Image based on Alpine Linux with golang tools for building and testing go code
1.6K
Example of building example/main.go with goalpinetools:
cd example
docker run --rm -v `pwd`:/go/src/github.com/goalpinetools/example -v `pwd`/releases:/out -e "BUILDARGS=-o /out/helloworld" -e SOURCEDIR="/go/src/github.com/goalpinetools/example" structura/goalpinetools
Example of running an interactive shell inside the goalpinetools docker container with access to the sources:
cd example
docker run -ti --rm -v `pwd`:/go/src/github.com/goalpinetools/example -v `pwd`/releases:/out --entrypoint=/bin/sh goalpinetools
The sources are on Github: goalpinetools sources.
Content type
Image
Digest
Size
212.3 MB
Last updated
almost 6 years ago
docker pull structura/goalpinetools