$ docker pull kitware/cmake:ci-debian10-x86_64-2022-02-25
failed to register layer: Error processing tar file(exit status 1): write /usr/lib/x86_64-linux-gnu/ldscripts/elf32_x86_64.xsw: read-only file system
@ Ben Boeckel thx for rep. maybe this image doesn’t support windows wsl? i will also try fedora-image, but it maybe good to apt-install cmake in any os image…
>docker run --rm -it kitware/cmake:ci-fedora35-x86_64-2022-02-21
[root@7d05a7c61def /]# cmake /V
cmake version 3.22.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
while docker pull debian-image on cmd with Administrator privileges, it was also success.
but strangely cmake doesn’t exist…??
>docker run --rm -it kitware/cmake:ci-debian10-x86_64-2022-02-25
$ root@d9bc486e1ba0:/# cmake /V
bash: cmake: command not found
automake exists…
$ root@d9bc486e1ba0:/# automake --version
automake (GNU automake) 1.16.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Tom Tromey <tromey@redhat.com>
and Alexandre Duret-Lutz <adl@gnu.org>.
if i guess it from it’s image name, i think that [kitware/cmake:build-linux-x86_64-deps-2020-04-02 https://hub.docker.com/layers/kitware/cmake/build-linux-x86_64-deps-2020-04-02/images/sha256-77e9ab183f34680990db9da5945473e288f0d6556bce79ecc1589670d656e157] is a image for building.
however, bootstrap script file such as https://cmake.org/install/ doesn’t exist. where are docker images for building?
Maybe you could start with explaining what your goal is here. Do you just want a CMake binary for Linux? The .tar.gz downloads from the webpage should be sufficient.
Why would a CMake-specific image be of any use? You also need any dependencies and at that point either adding CMake to the list of packages to install or downloading the tarball isn’t that far away. What problem are you trying to solve here?