tests(dockerfile): resolve xargs failure caused by CRLF line endings (#10014)

This commit is contained in:
cheungxiongwei
2026-04-24 12:48:55 +02:00
committed by GitHub
parent 26111246f1
commit 9194dd7973
+1 -1
View File
@@ -8,7 +8,7 @@ RUN apt update
COPY ./scripts/prerequisites-apt.txt .
COPY ./scripts/prerequisites-pip.txt .
RUN cat prerequisites-apt.txt | xargs apt install -y
RUN cat prerequisites-apt.txt | tr -d '\r' | xargs apt install -y
RUN pip install --break-system-packages -r prerequisites-pip.txt