From 835d3f9eed91f2b2d63f38bb78c06c7cd08ca30c Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 2 Sep 2024 01:19:39 -0500 Subject: [PATCH] install latest CMake --- Dockerfile-cluster-base | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile-cluster-base b/Dockerfile-cluster-base index eab10c1..d04e42f 100644 --- a/Dockerfile-cluster-base +++ b/Dockerfile-cluster-base @@ -5,13 +5,18 @@ ENV \ LANG=C.UTF-8 \ LC_ALL=C.UTF-8 +ARG CMAKE_VERSION="3.30.2" ARG DASK_VERSION RUN apt-get update && \ apt-get install -y --no-install-recommends \ build-essential \ - cmake \ libomp-dev && \ + curl -O -L \ + https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-$(arch).sh && \ + mkdir /opt/cmake && \ + sh cmake-${CMAKE_VERSION}-linux-$(arch).sh --skip-license --prefix=/opt/cmake && \ + ln -sf /opt/cmake/bin/cmake /usr/local/bin/cmake && \ pip install --no-cache-dir --prefer-binary \ blosc \ bokeh \