feat(container): lean pixi-based two-stage container with multi-arch support - #466
Open
jcgraciosa wants to merge 2 commits into
Open
feat(container): lean pixi-based two-stage container with multi-arch support#466jcgraciosa wants to merge 2 commits into
jcgraciosa wants to merge 2 commits into
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
container/Containerfileto a pixi two-stage build, fixing PETScversion drift between the container and Binder (root cause of the v3.1.0
container build failure)
linux/arm64support for native performance on ARM64 machines(Apple Silicon Macs and ARM64 Linux servers/cloud instances)
gmshfrom PyPI to conda-forge — restores the originalenvironment.yamlapproach and was required to unblock arm64 support(PyPI gmsh has no
linux-aarch64wheels)Details
Containerfile: Two-stage build (builder: pixi install + compile UW3;
runtime: copy env + Mesa apt packages). Drops
vtk-osmesa; uses conda-forgevtk+ Mesa instead — same as Binder, works on amd64 and arm64.pixi.toml/pixi.lock: Added
linux-aarch64platform and target sections.gmshmoved to[dependencies](conda-forge).environment.yaml: Marked as human-readable reference only.
Testing
pixi install -e runtime: linux/arm64 ✓, linux/amd64 ✓, osx-arm64 ✓Underworld development team with AI support from Claude Code