jwilder/docker-squash
Squash docker images to make them smaller observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4403
- days_rel: n/a
- days_push: 1930
- n_releases_24m: 0
Adoption not part of the score
1976 stars · 157 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
docker-squash is a Go CLI utility that squashes multiple Docker image layers into a single layer to reduce image size, while preserving Dockerfile metadata like ENV and PORT. It is designed to be run just before pushing an image to a registry, after cleaning out build-time dependencies and unwanted files.
Use cases
- shrink a docker image before pushing to a registry
- merge many docker layers into one
- remove deleted files that still exist in lower layers
- reduce image pull and push transfer size
- clean up apt caches and build dependencies from a committed container
When to choose
- you need to flatten an already-built or committed Docker image
- you want to purge files deleted in later layers from the image history
- you want to preserve the base image layers while squashing your own layers
When to avoid
- starting a new project, since the project is explicitly no longer under development
- you can achieve smaller images with multi-stage builds or modern Docker features
- you need support for the latest Docker image formats or BuildKit
Facets
cli-tool · maturity abandoned
developer-tools compression container-runtime developer-tools cli docker-images image-squashing layer-optimization registry-push containers devops linux macos docker
1 source
- readme: https://github.com/jwilder/docker-squash · fetched 2026-08-28 · a2bee825e4bb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jwilder/docker-squash | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="jwilder/docker-squash")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem