-
Notifications
You must be signed in to change notification settings - Fork 493
Pin versions in pip linting error #366
Copy link
Copy link
Closed
Labels
Description
- This is a bug report
- This is a feature request
- I searched existing issues before opening this one
When my Dockerfile looks like this:
RUN pipenv run python setup.py install
I get this:
$ hadolint Dockerfile
Dockerfile:1 DL3013 Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>`
I shouldn't get a linter error in this case as there is no pip install command in that line.
Steps to reproduce the behavior
echo "RUN pipenv run python setup.py install" > Dockerfile
hadolint DockerfileReactions are currently unavailable