retepsdockerfmt
Dockerfile formatter. a modern dockfmt.
- Repository stars
- 627 Star
- All-time
- #55,710 all time
- Fork
- 23 Fork
- Repository created
- since 2025
- Type
- Apps & systems
- Language
- Go
- License
- MIT
Commercial use OKMIT; keep the license notice
Recently updatedLast push 18 days ago
About
READMEAn opinionated Dockerfile formatter, built on BuildKit's parser, that formats RUN commands with shfmt.
What it does
- Each formatted instruction is parsed again with BuildKit and compared with the original.
- Line endings (LF or CRLF) and the trailing newline are kept as they are.
Getting started
For CI systems that need one, such as GitLab CI, use ghcr.io/reteps/dockerfmt:alpine.
Limitations
The default image has no shell.
Summarized by AI from the README · As of 2026-12-02, reteps/dockerfmt had 627 stars. According to the 2026-12-02 record, reteps/dockerfmt is catalogued under Build & Deployment. A permissive license allows commercial use under its terms. The last push was on 2026-11-14. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data
README
View on GitHubRaw observations · 27
| Measured at | Repository stars | Source |
|---|---|---|
| 2026-12-02 00:00 UTC | 627 | Source |
| 2026-12-01 00:00 UTC | 627 | Source |
| 2026-11-30 00:00 UTC | 627 | Source |
| 2026-11-29 00:00 UTC | 627 | Source |
| 2026-11-28 00:00 UTC | 628 | Source |
| 2026-11-27 00:00 UTC | 628 | Source |
| 2026-11-26 00:00 UTC | 628 | Source |
| 2026-11-25 00:00 UTC | 629 | Source |
| 2026-11-24 00:00 UTC | 628 | Source |
| 2026-11-23 00:00 UTC | 628 | Source |
| 2026-11-22 00:00 UTC | 628 | Source |
| 2026-11-21 00:00 UTC | 628 | Source |
| 2026-11-20 00:00 UTC | 628 | Source |
| 2026-11-19 00:00 UTC | 628 | Source |
| 2026-11-18 00:00 UTC | 628 | Source |
| 2026-11-17 00:00 UTC | 628 | Source |
| 2026-11-16 00:00 UTC | 626 | Source |
| 2026-11-15 00:00 UTC | 626 | Source |
| 2026-11-14 00:00 UTC | 626 | Source |
| 2026-11-13 00:00 UTC | 626 | Source |
| 2026-11-12 00:00 UTC | 626 | Source |
| 2026-11-11 00:00 UTC | 626 | Source |
| 2026-11-10 00:00 UTC | 625 | Source |
| 2026-11-09 00:00 UTC | 625 | Source |
| 2026-11-08 00:00 UTC | 625 | Source |
| 2026-11-07 09:30 UTC | 625 | Source |
| 2026-11-06 10:15 UTC | 625 | Source |
Add a badge to your README
For project authors: paste it into the README. It updates daily and links back here.
[](https://github.day/resources/dockerfmt?ref=badge)