Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not report DL3042 if cache mount is used #983

Open
1 of 3 tasks
bvolkmer opened this issue Nov 8, 2023 · 2 comments
Open
1 of 3 tasks

Do not report DL3042 if cache mount is used #983

bvolkmer opened this issue Nov 8, 2023 · 2 comments

Comments

@bvolkmer
Copy link

bvolkmer commented Nov 8, 2023

  • 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
@mikesir87
Copy link

Similar issue for DL3060 when cache used for yarn

@UnknownPlatypus
Copy link

I believe this could be closed as a duplicate of #497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants