Repository navigation
feat: add hadolint support across image and CI - #222
Merged
Merged
Conversation
- Introduced hadolint as a required dependency for linting Containerfiles and Dockerfiles. - Added installation instructions for macOS and Debian, including architecture-specific handling. - Included a manual installation link for further reference. Refs: #122
- Changed hadolint hook to use local repository for Containerfile and Dockerfile linting. - Updated setup action to include hadolint installation instructions and added a new input for its installation. - Modified test project action to enable hadolint installation during environment setup. Refs: #122
Tests are RED until implementation. Refs: #122
- Implemented installation of the hadolint binary with architecture-specific handling and checksum verification for security. - Enhanced the Containerfile to include the hadolint version check post-installation. Refs: #122
Contributor
Author
|
@gerchowl check in your Mac the following:
PS: apparently if you set auto-merge while CI is running, GitHub will merge even if a requested review is still pending... It only waits if the review is mandatory (e.g. code owner or targeting |
- Added exception for CVE-2025-15558 related to docker/cli plugin privilege escalation. - Provided risk assessment and tracking information for the issue. - Updated expiration date for the exception. Refs: #122
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.
Description
Adds hadolint end-to-end for this repository: image installation with checksum verification, local pre-commit integration, and CI setup updates so linting works consistently in local and runner contexts. Also includes setup script improvements for multiline requirement install commands, updated
justinstall guidance, and follow-up security/changelog updates from the latest commits.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
Containerfilehadolintin the image and verifies download integrity via SHA-256 checksum..pre-commit-config.yaml.github/actions/setup-env/action.ymland.github/actions/test-project/action.ymltests/test_image.pyscripts/init.sh,scripts/requirements.yaml,scripts/manifest.toml,CONTRIBUTE.mdjustinstall guidance..trivyignoreCVE-2025-15558with risk context and expiration metadata.CHANGELOG.mdChangelog Entry
Added
hadolintin the devcontainer image with SHA-256 checksum verificationhadolintis available in the built imagehadolintbinary and install it insetup-env/test-projectworkflowsChanged
justinstall guidance in setup flow (#122)scripts/init.shnow supports multilineinstall_commandvalues inscripts/requirements.yamljustinstall instructions to usesudowhere required by apt-based installation stepsSecurity
.trivyignoreexception forCVE-2025-15558including risk assessment and expiry dateTesting
just test)Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
N/A
Refs: #122