gobin

tiny docker image generator for go(lang)bin(aries)

MIT License

Stars
11

damdo/gobin

👌 tiny docker image for golang apps

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
Badges
Extracted from project README
License