distroless
by
GoogleContainerTools

Description: 🥑 Language focused docker images, minus the operating system.

View GoogleContainerTools/distroless on GitHub ↗

Summary Information

Updated 39 minutes ago
Added to GitGenius on April 18th, 2026
Created on April 18th, 2017
Open Issues/Pull Requests: 14 (+0)
Number of forks: 1,382
Total Stargazers: 22,540 (+1)
Total Subscribers: 197 (+0)

Issue Activity (beta feature)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

The `googlecontainertools/distroless` repository provides a set of language-focused Docker images designed to be exceptionally small and secure. The core purpose of Distroless is to create container images that contain only an application and its runtime dependencies, stripping away the operating system components typically found in standard Linux distributions. This approach minimizes the attack surface, improves image scanning efficiency, and reduces the overall size of the container, leading to faster deployments and improved resource utilization.

The primary feature of Distroless images is their minimalism. They exclude package managers, shells, and other unnecessary programs, resulting in significantly smaller image sizes compared to base images like Alpine or Debian. For example, a Distroless image can be as small as 2 MiB, a fraction of the size of even a minimal Alpine image. This size reduction translates to faster image downloads, quicker container startup times, and reduced storage costs.

The repository offers pre-built Distroless images for various languages, including Java, Python, Go, and Node.js, built on Debian 12 and 13. These images are available on Google Container Registry (GCR) and are regularly updated. Users can select from different image variants, such as those with or without SSL support, and images that include debugging tools. The images are also built for multiple architectures, allowing for cross-platform compatibility. The repository provides clear instructions and examples on how to use these images with both Docker and Bazel, two popular containerization tools.

Using Distroless images involves a multi-stage build process. The first stage builds the application artifacts, and the second stage copies these artifacts into the Distroless image. This approach ensures that only the necessary components are included in the final runtime image. The repository provides detailed Dockerfile examples for various languages, demonstrating how to build and run applications using Distroless images. It also highlights the importance of using the vector form for `ENTRYPOINT` and `CMD` commands to avoid shell-related issues.

Security is a key consideration. Distroless images are signed using Cosign with ephemeral keys, providing a mechanism for verifying the integrity of the images. The repository also emphasizes the importance of keeping the base Debian images up-to-date with security patches and CVE fixes. The project uses automated workflows to generate pull requests for updates, ensuring that users benefit from the latest security improvements.

The repository also provides resources for users to learn more and get support. It includes links to a Google Group for community discussion and a Kubernetes Slack channel for Distroless-related topics. The project is actively used by several prominent projects, including Kubernetes, Knative, and Tekton, demonstrating its widespread adoption and reliability. The repository encourages users to contribute and provides clear guidelines for doing so. In essence, `googlecontainertools/distroless` offers a streamlined, secure, and efficient approach to containerizing applications, making it a valuable tool for developers seeking to optimize their container deployments.

distroless
by
GoogleContainerToolsGoogleContainerTools/distroless

Repository Details

Fetching additional details & charts...