Skip to content
Sphesihle Makhathini edited this page Oct 27, 2021 · 17 revisions

Requires

  • Python And any of the following technologies:
  • Minimalist (Python-only), pre-bundled with Stimela: uDocker
    • Note that udocker does not have support for python 3.
  • or optionally podman and buildah [recommended]
  • or optionally Docker
  • or optionally Singularity

Step 1: Install stimela

For the latest release

$ pip install stimela

or, the development version (not recommended)


$ pip install --user git+git://github.com/sphemakh/Stimela

or (virtual environment; recommended)

$ mkdir stimela_venv
$ cd stimela_venv
$ virtualenv stimela
$ cd stimela
$ source bin/activate
$ pip install stimela

Please note that stimela container images are about 40Gb in size, so we do not recommend pulling all of them. You can pull images for specific cabs by running stimela pull --cab-base <name of cab>, e.g, stimela pull --cab-base wsclean. Alternatively, you can skip (recommended) the pull step altogether and the images needed for your recipe will be pulled at runtime on the first run.

(For uDocker support): Step 2: Pull base images

$ stimela pull

(For podman support): Step 2: Pull base images

$ stimela pull -p

(For Docker support): Step 2: Pull base images

$ stimela pull -d

(For Singularity support): Step 2: Pull base images

Put the following export in the rc file of your favourite shell

export SINGULARITY_PULLFOLDER=${WORKSPACE_ROOT}/singularity_images

then

$ stimela pull -s
Clone this wiki locally