👌 tiny docker image for golang apps
- FROM scratch, no distro
- runs statically-linked Go bin
- includes 165 CA certificates for out-bound SSL connections
- super tiny docker image (this example ~1.72MB)
- NEW! uses multi-stage build
go installed- docker engine >= 17.06 CE installed
- no CGO dependencies
docker build ... -t your-desired-imagename .now we can run our Docker Image with:
docker run ... your-desired-imagenamedocker build -t damdo/gobin .now we can run our Docker Image with:
docker run --rm damdo/gobin- This project uses third party libraries that are distributed under their own terms. See
3RD-PARTY-LICENSE - For the rest of it the MIT License (MIT) applies. See
LICENSEfor more details