Skip to content

DL3005 still exists #1049

@barakadax

Description

@barakadax
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions