-
Notifications
You must be signed in to change notification settings - Fork 487
Open
Description
- This is a bug report
- This is a feature request
- I searched existing issues before opening this one
Expected behavior
Not being blocked by DL3005
Actual behavior
Getting blocked by DL3005
Steps to reproduce the behavior
Running this I got to this link
Which seems to be removed but even inside the online linter I still get this issue.
FROM python:3.13.0-slim
WORKDIR /app
COPY . .
RUN apt-get update && apt-get upgrade && rm -rf /var/lib/apt/lists/* && \
python -m pip install --upgrade pip && \
pip install --no-cache-dir -r requirements.txt &&
CMD ["python", "main.py"]
EDIT: after copy pasting my example it shows me now SC1072, changing it to:
FROM python:3.13.0-slim
WORKDIR /app
COPY . .
RUN apt-get update && apt-get upgrade && rm -rf /var/lib/apt/lists/*
RUN python -m pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt &&
CMD ["python", "main.py"]
Replicates the issue
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels