Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 1.11 KB

File metadata and controls

44 lines (32 loc) · 1.11 KB

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