Skip to content

Commit d76acf6

Browse files
committed
Build CMake from source
1 parent 4429072 commit d76acf6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/apk/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ RUN apk add \
3838
unzip \
3939
openssl-dev \
4040
sudo
41+
42+
# Build latest CMake for vcpkg
43+
RUN curl -O -L https://github.com/Kitware/CMake/releases/download/v3.31.9/cmake-3.31.9.tar.gz \
44+
&& tar zxf cmake-3.31.9.tar.gz \
45+
&& cd cmake-3.31.9 \
46+
&& ./configure && make -j8 && make install \
47+
&& cd .. && rm -rf cmake-3.31.9 cmake-3.31.9.tar.gz

0 commit comments

Comments
 (0)