GitShow/jessfraz/dockfmt
jessfraz

dockfmt

Dockerfile format and parser. Like `gofmt` but for Dockerfiles.

by jessfraz
Star on GitHubFork

Go

441 stars21 forks9 contributorsQuiet · 2y agoSince 2016v0.3.3MIT

Meet the team

See all 9 on GitHub →
jessfraz
jessfraz46 contributions
toc-me[bot]Bot
toc-me[bot]4 contributions
josegonzalez
josegonzalez2 contributions
github-actions[bot]Bot
github-actions[bot]2 contributions
ilyar
ilyar1 contribution
jeffxf
jeffxf1 contribution
lassik
lassik1 contribution
jimen0
jimen01 contribution

Languages

View on GitHub →
Go70.5%
Makefile26.9%
Dockerfile2.6%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 2 in progress · Last activity 2y ago
See all on GitHub →
SeriousSamV
Update installation command in READMEOpenPR
SeriousSamV · 5mo ago
lassik
MaintainershipOpenIssue

@jessfraz Will you still have time to maintain dockfmt in the future? If not, that's perfectly understandable but in that case would you like to appoint a new maintainer? I'm not the right person for the job but maybe one of the other people who sent a PR is, or someone else you know who is excited about Docker.

lassik · 1y ago
tsandrini
All instruction flags are being deletedOpenIssue

Describe the bug completely ignores all available Dockerfile flags (in accordance with the official specification https://docs.docker.com/reference/dockerfile/#syntax) Steps To Reproduce 1. Toy Dockerfile example 2. Format the file Expected behavior Official Dockerfile instruction flags shouldn't be deleted, it makes the tool unusable in any real life scenario. Additional context

tsandrini · 1y ago

Recent fixes

View closed PRs →
mvdan
use a shell parser to format commandsClosedIssue

At the moment, the code simply treats shell code as a string, splitting by and doing string replaces. This will work most of the time, but will break fairly easily, with cases like: we don't want this to be split won't be replaced with due to the double space (markdown gets rid of the double space before , though) I use this tool and suffer from these from time to time, so I'd be happy to work on a small patch to use mvdan.cc/sh/syntax. Using its printer you'd also format the shell code, such as replacing `foo$(foo)`. I see no tests, though - so I'm a bit wary to touch the code. Chances are I'm going to introduce a couple of regressions :)

mvdan · 7mo ago
khtdr
Update installation command in instructionsMergedPR

Addresses this output from following the current instructions:

khtdr · 1y ago
josegonzalez
Building deb and rpm packagesClosedIssue

Hi! As part of dokku/dokku#3263 and #9, I'd love to be able to package dockfmt into deb and rpm packages. I realize this isn't exactly something you do for your tools, so would be happy to setup a release process on our end that pulls your built binaries and creates a deb/rpm package via fpm. We would be hosting the packages in Dokku's packagecloud repository. If this isn't something you'd like me to do - or if it's something you'd like me to contribute to your release process in some way - that's totally fine. Just asking in advance as I know some folks don't like random distributions of their packages :)

josegonzalez · 2y ago
Structured data for AI agents

Repository: jessfraz/dockfmt. Description: Dockerfile format and parser. Like `gofmt` but for Dockerfiles. Stars: 441, Forks: 21. Primary language: Go. Languages: Go (70.5%), Makefile (26.9%), Dockerfile (2.6%). License: MIT. Latest release: v0.3.3 (7y ago). Open PRs: 2, open issues: 4. Last activity: 2y ago. Community health: 42%. Top contributors: jessfraz, toc-me[bot], josegonzalez, github-actions[bot], ilyar, jeffxf, lassik, jimen0.

·@ofershap

Replace github.com with gitshow.dev