From 4072b7ee99ba25d8634fcd9322cd2e7b2e585e08 Mon Sep 17 00:00:00 2001 From: Gene Walters Date: Thu, 26 Sep 2024 00:06:25 +0000 Subject: [PATCH] Using python-pip to pull cmake for assimp's dockerfile. Assimp requires cmake 3.22, but Ubuntu 20.04 apt-get only provides 3.16 Signed-off-by: Gene Walters --- package-system/assimp/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package-system/assimp/Dockerfile b/package-system/assimp/Dockerfile index d85bebd7..1d5d5c53 100644 --- a/package-system/assimp/Dockerfile +++ b/package-system/assimp/Dockerfile @@ -32,9 +32,13 @@ RUN apt-get install -y build-essential \ pkg-config \ libminizip-dev \ git \ - cmake \ ninja-build +# Use python-pip to pull CMake. +# 20.04 Ubuntu apt-get comes with CMake 3.16, but Assimp requires CMake 3.22+ +RUN apt-get -y install python3-pip +RUN pip install cmake --upgrade + RUN apt upgrade -y # Prepare a target folder within the container to install the build artifacts tp