Repository navigation
feat(docker): lint the Dockerfiles with hadolint in pre-commit - #6944
Merged
Merged
Conversation
Add hadolint to pre-commit with shenxianpeng/hadolint-pre-commit. Add .hadolint.yaml ignoring DL3008 for unpinned apt packages. Add inline ignores for intentional settings in Dockerfiles. Add hadolint check row to devops ci and register in runner tools. Closes #6418 Change: `openspec/changes/archive/2026-11-24-6418-lint-dockerfiles-with-hadolint/`
dan-petty
force-pushed
the
ci/6418-lint-dockerfiles-with-hadolint
branch
from
November 24, 2026 01:36
03775cf to
4d7daa2
Compare
dan-petty
marked this pull request as ready for review
November 24, 2026 01:44
dan-petty
enabled auto-merge (squash)
November 24, 2026 04:24
dan-petty-release Bot
added a commit
that referenced
this pull request
Nov 24, 2026
🤖 I have created a release *beep* *boop* --- ## [0.207.0](v0.206.2...v0.207.0) (2026-11-24) ### Features * **docker:** lint the Dockerfiles with hadolint in pre-commit ([#6944](#6944)) ([09ea9c8](09ea9c8)) ### Bug Fixes * **deps:** lock file maintenance ([#6953](#6953)) ([b27b8fc](b27b8fc)) * **deps:** update ghcr.io/dan-petty/devtools Docker tag to v1.1.8 ([#6950](#6950)) ([db55a1b](db55a1b)) * **docker:** ignore DL3066 on devcontainer base stage vscode user ([#6964](#6964)) ([e071c2e](e071c2e)) ### Performance Improvements * **devcontainer:** keep the Feature layers under the project layer ([#6941](#6941)) ([b431c53](b431c53)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No linter checks Dockerfile and .devcontainer/Dockerfile. Adding hadolint as a pre-commit hook and devops ci quality gate row catches Dockerfile defects early.
Closes #6418
Change:
openspec/changes/archive/2026-11-24-6418-lint-dockerfiles-with-hadolint/