Skip to content

Add markdownlint and shellcheck Docker images - #137

Merged
SeanTAllen merged 1 commit into
mainfrom
replace-superlinter-with-dedicated-images
Aug 10, 2026
Merged

Add markdownlint and shellcheck Docker images#137
SeanTAllen merged 1 commit into
mainfrom
replace-superlinter-with-dedicated-images

Conversation

@SeanTAllen

Copy link
Copy Markdown
Member

Add dedicated markdownlint and shellcheck Docker images to replace
super-linter across Pony projects. super-linter v3.8.3 pulls a 2GB+
image containing dozens of linters when we only need markdown and
shell script linting.

Both images have entrypoint wrappers for fire-and-go usage — consumers
just uses: docker://ghcr.io/ponylang/shared-docker-ci-<tool>:<tag>
with no args. The markdownlint entrypoint reads .markdownlintignore
and converts entries to negation patterns (markdownlint-cli2 doesn't
read that file natively). The shellcheck entrypoint finds and lints
all .sh/.bash files automatically.

Includes a workflow_dispatch workflow to build and push both images
from the GitHub UI. Super-linter stays in this repo's own pr.yml for
now; switching to the new images happens in a follow-up after the
first build.

@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Aug 9, 2026
These replace super-linter for markdown and shell script linting
across Pony projects. super-linter v3.8.3 pulls a 2GB+ image
containing dozens of linters when we only need two. These dedicated
images are small, fast, and follow the existing actionlint pattern.

Both images have entrypoint wrappers for fire-and-go usage —
consumers just `uses: docker://ghcr.io/ponylang/shared-docker-ci-<tool>:<tag>`
with no args. The markdownlint entrypoint reads .markdownlintignore
and converts entries to negation patterns since markdownlint-cli2
doesn't read that file natively. The shellcheck entrypoint finds
and lints all .sh/.bash files automatically.

A workflow_dispatch workflow builds all three linter images
(actionlint, markdownlint, shellcheck) from the GitHub UI.
@SeanTAllen
SeanTAllen force-pushed the replace-superlinter-with-dedicated-images branch from 5281b08 to baebcaf Compare August 9, 2026 23:55
@SeanTAllen
SeanTAllen merged commit ed0ed1e into main Aug 10, 2026
16 checks passed
@SeanTAllen
SeanTAllen deleted the replace-superlinter-with-dedicated-images branch August 10, 2026 00:02
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Aug 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants