-
Notifications
You must be signed in to change notification settings - Fork 487
Closed
Description
- This is a bug report
- This is a feature request
- I searched existing issues before opening this one
Expected behavior
There should be no lint error
Actual behavior
Dockerfile:5 DL3042 warning: Avoid use of cache directory with pip. Use `pip install --no-cache-dir <package>`
Steps to reproduce the behavior
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.0Dockerfile (if relevant)
# syntax=docker/dockerfile:1.8.1@sha256:e87caa74dcb7d46cd820352bfea12591f3dba3ddc4285e19c7dcd13359f7cefd
FROM python:3.12
RUN python3 -m venv /app \
&& source /app/bin/activate \
&& pip install \
--no-cache-dir \
--upgrade \
tzdataAdditional environment details (OS, stack version, etc.)
- NixOS
- Github Actions runner (ubuntu-latest)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels