Build Images#

Pre-built images are available from the simtools package registry. Replace the docker command by the container run engine of your choice (e.g., podman).

Build a simulation production container#

To build an image locally run:

docker build -f Dockerfile-prod-opt -t simtools .

The build process requires a tarball of corsika/sim_telarray (named corsika_simtelarray.tar.gz) to be present in the build directory. This package is available from MPIK (password protected). Build arguments can be configured as specified at the top of the Dockerfile.

Run the newly built container:

docker run --rm -it -v "$(pwd)/external:/workdir/external" simtools bash

Build a developers container locally#

To build an image locally run in the docker directory:

docker build -f Dockerfile-dev -t simtools-dev .