Skip to content

Commit 5962235

Browse files
committed
Upgrade setuptools to avoid UNKNOWN wheel when building onnx on ubi9
Signed-off-by: Gong Su <gong_su@hotmail.com>
1 parent bf04a73 commit 5962235

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile.llvm-project

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ RUN distro=$(cat /etc/os-release|grep -Po '(?<=^ID=").*(?=")|(?<=^ID=)[^"].*[^"]
4747
file java-21-devel gcc gcc-c++ git libtool make ncurses-devel \
4848
ninja-build python3 python3-devel python3-pip python3-setuptools \
4949
python3-wheel tzdata-java unzip which zip zlib-devel && \
50-
# Use same versions as those in ubuntu:noble
50+
# Upgrade setuptools to avoid UNKNOWN wheel when building onnx
51+
# Use same package versions as those in ubuntu:noble
52+
pip3 install -q setuptools --upgrade && \
5153
pip3 install -q \
5254
Cython pytest==7.4.4 numpy==1.26.4 pytest-xdist==3.4.0 \
5355
typing-extensions==4.10.0 && \

0 commit comments

Comments
 (0)