-
- [x] This is a bug report
- [ ] This is a feature request
- [ ] I searched existing issues before opening this one
### Expected behaviour
hadolint test.dockerfile --config .hadolint.yaml run …
-
- [x] This is a bug report
- [ ] This is a feature request
- [x] I searched existing issues before opening this one
### Expected behavior
pass linting
### Actual behavior
error:
```js…
-
## Description
Adding hadolint to pre-commit
## Rationale
Linting Dockerfile. Current lint warnings:
```
Lint Dockerfiles.........................................................Failed
-…
-
According to [docs](https://docs.docker.com/reference/build-checks/undefined-var/):
> Before you reference an environment variable or a build argument in a `RUN` instruction, you should ensure that t…
-
I'm not sure if this is pre-commit or shfmt-docker issue. I noticed that when using pre-commit version 2.17.0 (yes an old version, but readon) and this hook definition:
``` - repo: https://githu…
-
Hi All,
I am running Jenkins 2.416 with Hadolint version: Haskell Dockerfile Linter 2.12.0, When i run **" hadolint dockerfiles/**/Dockerfile | tee hadolint_lint.txt"
dockerfiles/file1/Dockerfile:…
-
- [x] This is a bug report
- [ ] This is a feature request
- [x] I searched existing issues before opening this one
### Expected behavior
Hadolint to not trigger the DL3020 error when using va…
-
A suggestion to run hadolint on Dockerfile
```
Dockerfile:4 DL3008 Pin versions in apt get install. Instead of `apt-get install ` use `apt-get install =`
Dockerfile:4 DL3009 Delete the apt-get li…
-
Inline ignoring not working
`# hadolint ignore=DL3008`
the same as `.hadolint.yaml` ignores
```
ignored:
- DL3008
```
-