Skip to content

Commit

Permalink
Dockerfile: Add CMake 3.30.5
Browse files Browse the repository at this point in the history
This commit adds CMake 3.30.5 to the SDK build image.

Note that the distro CMake package is not used because it is too
outdated and not compatible with the LLVM build process.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
  • Loading branch information
stephanosio committed Oct 22, 2024
1 parent 7d5009e commit 54636b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.10-buster

ARG CMAKE_VERSION=3.30.5

ARG UID=1001
ARG GID=1001

Expand Down Expand Up @@ -42,6 +44,11 @@ RUN apt-get install -y --no-install-recommends \
# Install packages for creating SDK packages
RUN apt-get install -y --no-install-recommends makeself p7zip-full tree curl

# Install CMake
RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh && \
chmod +x cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh && \
./cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh --skip-license --prefix=/usr/local

# Install python packages to allow upload to aws S3
RUN pip3 install awscli

Expand Down

0 comments on commit 54636b6

Please sign in to comment.