Skip to content

Commit

Permalink
[infra] Fix docker image build fail (#14533)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hseok-oh authored Jan 10, 2025
1 parent 6905ebf commit 17453b5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions infra/docker/focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions infra/docker/jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions infra/docker/noble/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17453b5

Please sign in to comment.