Hadolint Container Image¶
Lightweight wrapper around the official hadolint CLI for linting Dockerfiles in CI.
Features¶
- Based on the upstream
ghcr.io/hadolint/hadolintimage with additional CA certificates and curl for fetching remote Configurations. - GitLab CI Component at https://gitlab.com/explore/catalog/niclas-zone/ci/hadolint.
Usage¶
Pull the image¶
Lint a Dockerfile¶
podman run --rm \
-v $(pwd):/workspace \
-w /workspace \
registry.gitlab.com/niclas-zone/ctr/hadolint:latest \
hadolint Dockerfile
Author¶
Niclas Heinz
Contributing¶
Contributions are welcome! Please open an issue or submit a merge request if you have suggestions or improvements.
License¶
This project is licensed under the MIT License. See LICENSE for more information.