👌 tiny docker image generator for go(lang)bin(aries)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
3RD-PARTY-LICENSE
Dockerfile
LICENSE
README.md
ca-certificates.crt
main.go

README.md

damdo/gobin

👌 tiny docker image for golang apps

License

FEATURES:

  • 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

PRE-REQUISITES:

  • go installed
  • docker engine >= 17.06 CE installed
  • no CGO dependencies

USAGE:

docker build ... -t your-desired-imagename .

now we can run our Docker Image with:

docker run ... your-desired-imagename

EXAMPLE:

docker build -t damdo/gobin .

now we can run our Docker Image with:

docker run --rm damdo/gobin

LICENSE:

  • 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 LICENSE for more details