A golang alpine docker image with a variety of dependencies already in it to speedup built time
1.8K

Have you ever faced problems with your internet connection and was unable to build your docker image because of go get... madness, like the one above?
Worry no more.
This is a public service repository that puts together in a single docker image all dependencies one might need to build his/her golang web projects.
The folder example holds a sample Dockerfile to show how one could write it without having to deal with the go get... madness.
Check it out!
Fork it and open a Pull Request with your dependency added to the main.go file. After doing this, run go test to update go.mod
dependencies.
For now, the only dependencies we will accept are those found in github.com and golang.org.
This is an experimental initiative and it's open for suggestions. The questions I have for now are:
how do we certifiy that the added dependency is in a stable version? If you are using go mod this problem has been solved.
does code introspection via github.com suffices to accept the PR and guarantee that the generated image is free of malwares?
How to enable new gowebbuilder releases for the update of only one dependecy?
If you are using go mod this problem has been solved.
You only need to change the version of your dependency at go.mod file
Thanks!
Content type
Image
Digest
Size
211.4 MB
Last updated
over 6 years ago
docker pull abilioesteves/gowebbuilder