Skip to content
Sphesihle Makhathini edited this page Jan 16, 2017 · 17 revisions

Requires

Step 1: Install stimela

A system wide installation can be tricky since Docker causes all (RW) mounted volumes to be owned by root, which leads to output products being owned by root. As workaround I associate CAB images to specific users, which makes a system wide installation tricky.

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

Then add $HOME/.local binaries and python libraries to the PATH and PYTHONPATH. For my bash shell I add these lines to my $HOME/.bashrc file

export PATH=$HOME/.local/bin:$PATH
export PYTHONPATH=$HOME/.local/lib/python2.7/site-packages:$PYTHONPATH

or (virtual environment)

$ mkdir stimela_venv
$ cd stimela_venv
$ virtualenv stimela
$ cd stimela
$ source bin/activate
$ pip install git+git://github.com/sphemakh/Stimela

Step 2: Pull base images

$ stimela pull

Step 3: Build executor images

$ stimela build