Skip to content
Snippets Groups Projects

Build conda container without needing to run `conda activate <env>`

Merged Patrick Godwin requested to merge conda-noactivate into master

This PR avoids the need to explicitly activate a conda environment after creating a conda-based container with GstLAL installed. The actual CI and conda-based Docker images are simpler as a result.

One side-effect from this is that the Conda dependencies Dockerfile has been factored out into its own Dockerfile rather than embedded within the CI. I personally think this is the better move but was done previously for simplicity. The other thing to note here is that we've stopped relying on the igwn/base:conda image and instead define the base image explicitly and adapted from https://github.com/conda-forge/miniforge-images/blob/master/ubuntu/Dockerfile. A couple of reasons for this:

  • The base container was changed recently and caused CI failures that were not easily resolved.
  • Some of the changed introduced included adding tini as an entrypoint which appears not to be play nice with Singularity with obscure issues.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading