From bdd7f0a5e80c68e4e5dbdde6d50fe1bcbd45b59a Mon Sep 17 00:00:00 2001 From: Antonio Pio Maggio Date: Sun, 21 Sep 2025 18:40:38 +0200 Subject: [PATCH] fix(docker): Resolve Python packaging build failure for aarch64 The aarch64 Docker build fails during pip install when building mapbox-earcut (a trimesh dependency). This is caused by an outdated Python packaging library in the base image that's incompatible with modern package build requirements, resulting in a TypeError. This PR resolves the issue by adding a preliminary RUN command to upgrade pip, setuptools, and packaging before other dependencies are installed. Signed-off-by: Antonio Pio Maggio --- docker/Dockerfile.aarch64 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile.aarch64 b/docker/Dockerfile.aarch64 index b503fcc2..98b54791 100644 --- a/docker/Dockerfile.aarch64 +++ b/docker/Dockerfile.aarch64 @@ -135,6 +135,7 @@ RUN python3 -m pip install -U \ ninja # Additional Python dependencies +RUN python3 -m pip install --upgrade pip setuptools packaging RUN python3 -m pip install -U \ pymongo \ scikit-learn \ @@ -252,4 +253,4 @@ apt-get update && apt-get install -y \ nghttp2=1.43.0-1ubuntu0.2 # Store list of packages (must be last) -RUN mkdir -p /opt/nvidia/isaac_ros_dev_base && dpkg-query -W | sort > /opt/nvidia/isaac_ros_dev_base/aarch64-end-packages.csv \ No newline at end of file +RUN mkdir -p /opt/nvidia/isaac_ros_dev_base && dpkg-query -W | sort > /opt/nvidia/isaac_ros_dev_base/aarch64-end-packages.csv