Skip to content

pip install directory detected as DL3013 #389

@thetic

Description

@thetic
  • This is a bug report
  • This is a feature request
  • I searched existing issues before opening this one

Expected behavior

This shouldn't be DL3013 as it installs a setup.py in a directory

RUN pip install /app

Actual behavior

/dev/stdin:1 DL3013 Pin versions in pip. Instead of `pip install <package>` use `pip install <package>==<version>`

Steps to reproduce the behavior

echo "RUN pip install /app"  | hadolint -

Output of hadolint --version or
docker run --rm hadolint/hadolint hadolint --version:

Haskell Dockerfile Linter v1.17.5-0-g443423c

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions