From 17453b5094060233eca07a835896f6c82b0c3fdd Mon Sep 17 00:00:00 2001 From: Hyeongseok Oh Date: Fri, 10 Jan 2025 10:39:24 +0900 Subject: [PATCH] [infra] Fix docker image build fail (#14533) This commit fixes docker image build fail by yapf and pylint dependent package's version conflict. ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh --- infra/docker/focal/Dockerfile | 4 ++-- infra/docker/jammy/Dockerfile | 4 ++-- infra/docker/noble/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/infra/docker/focal/Dockerfile b/infra/docker/focal/Dockerfile index 1a20e7190b3..0e2ab4e3f23 100644 --- a/infra/docker/focal/Dockerfile +++ b/infra/docker/focal/Dockerfile @@ -32,9 +32,9 @@ RUN apt-get update && apt-get -qqy install libprotobuf-dev protobuf-compiler # Additonal tools RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive \ - apt-get -qqy install doxygen graphviz wget zip unzip python3 python3-pip python3-venv python3-dev hdf5-tools pylint curl + apt-get -qqy install doxygen graphviz wget zip unzip python3 python3-pip python3-venv python3-dev hdf5-tools curl RUN python3 -m pip install --upgrade pip -RUN python3 -m pip install yapf==0.40.2 numpy flatbuffers +RUN python3 -m pip install yapf==0.40.2 pylint numpy flatbuffers # Install clang-format RUN apt-get install -qqy gnupg2 diff --git a/infra/docker/jammy/Dockerfile b/infra/docker/jammy/Dockerfile index 0b75a50e63f..2d55083e365 100644 --- a/infra/docker/jammy/Dockerfile +++ b/infra/docker/jammy/Dockerfile @@ -32,9 +32,9 @@ RUN apt-get update && apt-get -qqy install libprotobuf-dev protobuf-compiler # Additonal tools RUN apt-get update && \ DEBIAN_FRONTEND=noninteractive \ - apt-get -qqy install doxygen graphviz wget zip unzip python3 python3-pip python3-venv python3-dev hdf5-tools pylint curl + apt-get -qqy install doxygen graphviz wget zip unzip python3 python3-pip python3-venv python3-dev hdf5-tools curl RUN python3 -m pip install --upgrade pip -RUN python3 -m pip install yapf==0.40.2 numpy flatbuffers +RUN python3 -m pip install yapf==0.40.2 pylint numpy flatbuffers # Install clang-format RUN apt-get install -qqy gnupg2 diff --git a/infra/docker/noble/Dockerfile b/infra/docker/noble/Dockerfile index de66c279851..4839211b3d7 100644 --- a/infra/docker/noble/Dockerfile +++ b/infra/docker/noble/Dockerfile @@ -31,8 +31,8 @@ RUN apt-get update && apt-get -qqy install libboost-all-dev libgflags-dev libgoo # Additonal tools RUN apt-get update && \ - apt-get -qqy install doxygen graphviz wget zip unzip python3 python3-pip python3-venv python3-dev hdf5-tools pylint curl -RUN python3 -m pip install yapf==0.40.2 --break-system-packages + apt-get -qqy install doxygen graphviz wget zip unzip python3 python3-pip python3-venv python3-dev hdf5-tools curl +RUN python3 -m pip install yapf==0.40.2 pylint --break-system-packages # Install clang-format RUN apt-get update && apt-get -qqy install clang-format-16