Skip to content

feat: add micromamba with multi-arch support (amd64 + arm64) - #2

Merged
Tomeriko96 merged 2 commits into
mainfrom
feat/add-micromamba
Jun 22, 2026
Merged

feat: add micromamba with multi-arch support (amd64 + arm64)#2
Tomeriko96 merged 2 commits into
mainfrom
feat/add-micromamba

Conversation

@Tomeriko96

Copy link
Copy Markdown

Summary

  • Pins MICROMAMBA_VERSION="2.8.1-0" in the version block alongside the other tools
  • Installs the static binary as root using the existing /etc/arch_vars sourcing pattern — selects linux-64 on amd64 and linux-aarch64 on arm64, so the image builds correctly on both x86_64 hosts and Apple Silicon Macs
  • Sets MAMBA_ROOT_PREFIX env var and runs micromamba shell init --shell bash as the dev user to wire the activation hook into ~/.bashrc at build time
  • Adds micromamba to the CLI verification loop in post-create.sh

Test plan

  • Build image on amd64 — verify micromamba --version prints 2.8.1-0
  • Build image on arm64 (Apple Silicon) — same check
  • Open a new shell in the container and confirm micromamba activate works

Pins MICROMAMBA_VERSION="2.8.1-0" and installs the static binary from
GitHub releases, selecting linux-64 or linux-aarch64 via /etc/arch_vars
so the image builds correctly on both x86_64 hosts and Apple Silicon Macs.
Sets MAMBA_ROOT_PREFIX and runs micromamba shell init to wire the
activation hook into ~/.bashrc at build time.
Keeps the single-source-of-truth pattern: all arch name mappings live
in one place at the top of the Dockerfile, and every install step just
sources /etc/arch_vars without needing its own case statement.
@Tomeriko96
Tomeriko96 merged commit 4dee979 into main Jun 22, 2026
1 check passed
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.

1 participant