cmake

Versions: [3.20.3, 3.20.5, 3.21.0, 3.21.1, 3.21.2, 3.21.3, 3.21.4, 3.22.1, 3.24.2, 3.24.3]

cmake

Download        : docker pull ghcr.io/autamus/cmake
Compressed Size : 56MB

Description

A cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software.

Usage

Pull (Download)

To download the latest version of cmake run,

docker pull ghcr.io/autamus/cmake:latest

or to download a specific version of cmake run,

docker pull ghcr.io/autamus/cmake:3.20.3

Run

To run the container as an application run,

docker run --rm ghcr.io/autamus/cmake cmake --version

or to run the container in an interactive session run,

docker run -it --rm ghcr.io/autamus/cmake bash

Mounting volumes between the container and your machine

To access files from your machine within the cmake container you’ll have to mount them using the -v external/path:internal/path option.

For example,

docker run -v ~/Documents/Data:/Data ghcr.io/autamus/cmake cmake /Data/myData.csv

which will mount the ~/Documents/Data directory on your computer to the /Data directory within the container.

HPC

If you’re looking to use this container in an HPC environment we recommend using Singularity-HPC to use the container just as any other module on the cluster. Check out the SHPC cmake container here.