Sign inSign up

iomz/cmake

By iomz

•Updated over 4 years ago

Image
0

37

iomz/cmake repository overview

# syntax=docker/dockerfile:1
ARG GCC_VERSION=11.2.0

# this stage builds cmake
FROM gcc:$GCC_VERSION AS cmake

ARG CMAKE_VERSION=3.22.0

RUN set -ex \
 && wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-Linux-x86_64.sh \
 -q -O /tmp/cmake-install.sh \
 && chmod u+x /tmp/cmake-install.sh \
 && mkdir -p /usr/bin/cmake \
 && /tmp/cmake-install.sh --skip-license --prefix=/usr/bin/cmake \
 && rm /tmp/cmake-install.sh

ENTRYPOINT ["/usr/bin/cmake/bin/cmake"]
CMD ["--version"]

Tag summary

Content type

Image

Digest

Size

472.5 MB

Last updated

over 4 years ago

docker pull iomz/cmake:3.22.0