ninja

Versions: [1.10.2, 1.11.1]

ninja

Download        : docker pull ghcr.io/autamus/ninja
Compressed Size : 27MB

Description

Ninja is a small build system with a focus on speed. It differs from other build systems in two major respects: it is designed to have its input files generated by a higher-level build system, and it is designed to run builds as fast as possible.

Usage

Pull (Download)

To download the latest version of ninja run,

docker pull ghcr.io/autamus/ninja:latest

or to download a specific version of ninja run,

docker pull ghcr.io/autamus/ninja:1.10.2

Run

To run the container as an application run,

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

or to run the container in an interactive session run,

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

Mounting volumes between the container and your machine

To access files from your machine within the ninja 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/ninja ninja /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 ninja container here.