@@ -5,13 +5,17 @@ also ways to run CWL files and complete Application Packages locally.
55
66## Understanding and debugging xcengine container images
77
8+ ### The base image
9+
810When generating a container image, xcengine uses a
911[ micromamba] ( https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html )
1012image as a base. If you need to investigate or
1113debug an xcengine image, or if you're just curious about its structure, you may
1214find the [ micromamba-docker
1315documentation] ( https://micromamba-docker.readthedocs.io/ ) useful.
1416
17+ ### Entry points
18+
1519xcengine sets a custom entry point to run its own runner script, so any commands
1620provided when running a container from an xcengine image with ` docker run `
1721will be applied as arguments to the xcengine runner. For instance, for an
@@ -33,6 +37,15 @@ as well, like this:
3337This resets the entry point to the usual micromamba-docker entry point, which
3438sets up the Python environment, then runs bash within that environment.
3539
40+ ### The Dockerfile and environment file
41+
42+ To aid reproducibility, the Dockerfile and environment file used to set up the
43+ container image are both included in the image itself, in the ` /tmp `
44+ directory. The rest of the code and configuration for the image is in the
45+ ` /home/mambauser ` directory. In combination with the publicly available
46+ micromamba base image, each xcengine image thus contains the resources
47+ necessary to reproduce its own build process.
48+
3649## Running with cwltool
3750
3851[ cwltool] ( https://www.commonwl.org/user_guide/introduction/quick-start.html )
0 commit comments