The best way to build Docker images for your analysis is using the Continuous Integration features of CERN’s GitLab. To get started make sure that your have
- Your Analysis dode in a CERN Gitlab repository
- Your Analysis dependencies registered as submodules in your analysis repository
Dockerfilein your repository root. This tells Docker how to build the image, e.g. how to compile your software. See the docker section of the recast docs for more info about writing your Dockerfile.
.gitlab-ci.ymlfile in your repository root. With this you ask GitLab to build the docker image according to the
Dockerfileeach time you change your analysis. See the “image-building with CI” section of the RECAST docs for more info on setting up automated image building with GitLab CI.