Skip to content

Fix/74 dockerfile micromamba#214

Open
ChrsBaur wants to merge 2 commits intomasterfrom
fix/74-dockerfile-micromamba
Open

Fix/74 dockerfile micromamba#214
ChrsBaur wants to merge 2 commits intomasterfrom
fix/74-dockerfile-micromamba

Conversation

@ChrsBaur
Copy link
Copy Markdown
Contributor

@ChrsBaur ChrsBaur commented May 3, 2026

  • Replaced condaforge/mambaforge base image with mambaorg/micromamba:latest in the conda Dockerfile for faster, smaller builds (closes Refactor Dockerfile for conda #74)
  • Removed SHELL ["mamba", "run", ...] workaround; environment activation is now handled via MAMBA_DOCKERFILE_ACTIVATE=1 and ENV_NAME, which is the recommended micromamba pattern
  • Improved Docker layer caching by copying environment.yml and creating the conda env before copying the full project source

ChrsBaur added 2 commits May 4, 2026 01:06
…#74)

Replaces condaforge/mambaforge with mambaorg/micromamba for faster,
smaller builds. Uses MAMBA_DOCKERFILE_ACTIVATE=1 to activate the named
environment for all subsequent RUN commands, eliminating the need for
'mamba run -n env_name' prefixes. Improves layer caching by creating
the conda env before copying full source.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor Dockerfile for conda

1 participant