Hacker GitHub

← All repos

GoogleContainerTools/distroless

View on GitHub ↗ ★ 23,191 Starlark

🥑 Language focused docker images, minus the operating system.

77 mentions on Hacker News by 67 people: 12 stories, 65 comments · first 2017-06-09 · latest 2026-08-26

Mentions per year 77 mentions · busiest year 2022 (17)
20082026
  1. …m/develop/develop-images/multistage-bu... [1]: https://hub.docker.com/_/scratch/?tab=description [2]: https://github.com/GoogleContainerTools/distroless [3]: https://github.com/golang/go/commit/62f0127d8104d8266d9a3fb5... [4]:…
    comment by hardwaresofton · 2020-02-11 · in I Was Wrong about Nix
  2. Most people would benefit from the distroless base image: https://github.com/GoogleContainerTools/distroless It's a base image with binaries from Debian deb package, and with necessary stuff like ca-certificates, and absolutely nothing…
  3. …problems, as well as musl causing issues with all sorts of nodejs build tools (bower, yarn). [1]: https://github.com/GoogleContainerTools/distroless
  4. Distroless has debug images for this purpose: https://github.com/GoogleContainerTools/distroless/blob/mast...
  5. …to mention, you still need runtimes if you are programming in Java, Python or many other languages. https://github.com/GoogleContainerTools/distroless project gives a way to have these runtimes + their lib dependencies while still…
  6. For anyone who want a small image but with glibc, https://github.com/GoogleContainerTools/distroless is a good choice, especially if you are writing in static linked language e.g. Go and Rust.
  7. things like https://github.com/GoogleContainerTools/distroless should help to reduce the attack surface of your containers.
  8. How about the Distroless containers from Google? https://github.com/GoogleContainerTools/distroless/blob/mast... .
  9. There’s also google cloud’s distroless project: https://github.com/GoogleContainerTools/distroless We’ve used the Node.js containers in production and investigated the other languages, but never deployed them. We did have some issues with…
    comment by ajuhasz · 2018-11-14 · in Show HN: Smallest Node.js Docker images
  10. …a really extreme stance where the production container has nothing superfluous, not even a shell. https://github.com/GoogleContainerTools/distroless
  11. Another option for even smaller images is to use distroless: https://github.com/GoogleContainerTools/distroless#examples-...
    comment by ImJasonH · 2018-05-14 · in How to start a Go project in 2018
  12. …- Our team has built something exactly like you're describing https://github.com/GoogleCloudPlatform/distroless Dockerfiles without RUN commands are technically more correct: reproducible, much easier to inspect. However
  13. …example here! We have a test that uses container-structure-test to do exactly this over here: https://github.com/GoogleCloudPlatform/distroless/blob/1ea91... You can mix and match between tests that check file contents and tests that…
  14. Neat. Some overlap with https://github.com/GoogleCloudPlatform/distroless ; I think one big difference is that Google's approach uses bazel to download and unpack .debs, and this one uses standard Debian tools (debootstrap). But the end…
  15. …image. The base images are built with bazel's docker rules[2], so you get reproducible builds. [1] https://github.com/GoogleCloudPlatform/distroless [2] https://github.com/bazelbuild/rules_docker