-
Notifications
You must be signed in to change notification settings - Fork 487
Open
Description
- This is a bug report
- This is a feature request
- I searched existing issues before opening this one
Expected behavior
The hadolint command and the online version produce the same output for the same Dockerfile.
Actual behavior
The provided Dockerfile produces no output with the hadolint command but the online version gives the following output for the second line: "Pin versions in pip. Instead of pip install <package> use pip install <package>==<version>" This shouldn't happen when using only a requirements.txt file.
Steps to reproduce the behavior
Version: Haskell Dockerfile Linter 2.12.0
Save the below Dockerfile as Dockerfile and run hadolint Dockerfile. This produces no output.
Copy the Dockerfile content to the https://hadolint.github.io/hadolint/ and click on "Lint". This produces the above output about pinning pip package versions.
Minimal Dockerfile:
FROM python:3.10-slim
RUN pip install --no-cache-dir -Ur requirements.txtReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels