Skip to content

Commit

Permalink
Using python-pip to pull cmake for assimp's dockerfile. Assimp requir…
Browse files Browse the repository at this point in the history
…es cmake 3.22, but Ubuntu 20.04 apt-get only provides 3.16

Signed-off-by: Gene Walters <[email protected]>
  • Loading branch information
AMZN-Gene committed Sep 26, 2024
1 parent a967217 commit 4072b7e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package-system/assimp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4072b7e

Please sign in to comment.