Skip to content

Do not report DL3042 if cache mount is used #983

@bvolkmer

Description

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

Feature request

Do not report DL3042 if pip is called like:

RUN --mount=type=cache,target=/root/.cache/pip \
    pip install ...

Output of hadolint --version or
docker run --rm hadolint/hadolint hadolint --version or
docker run --rm ghcr.io/hadolint/hadolint hadolint --version:

Haskell Dockerfile Linter 2.12.1

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