Skip to content

feat(rocklet): support Alpine/musl, Nix and glibc older version compatibility#582

Merged
zhangjaycee merged 1 commit intoalibaba:masterfrom
zhangjaycee:feature/image_compat
Mar 10, 2026
Merged

feat(rocklet): support Alpine/musl, Nix and glibc older version compatibility#582
zhangjaycee merged 1 commit intoalibaba:masterfrom
zhangjaycee:feature/image_compat

Conversation

@zhangjaycee
Copy link
Collaborator

  • docker_run.sh: detect musl vs glibc; for musl (Alpine) install glibc-compat from local apk and set up ld symlinks; for Nix symlink glibc/bash from store
  • Use /tmp/data/logs for non-root to avoid permission issues
  • runtime_env: run docker_run.sh with bash if available, else sh (minimal images)
  • pyproject: Pin numpy<=2.2.6 in rocklet deps for compatibility with older glibc.
  • tests: add integration test for sandbox startup on python/ubuntu/alpine/nix images

@CLAassistant
Copy link

CLAassistant commented Mar 6, 2026

CLA assistant check
All committers have signed the CLA.

@zhangjaycee zhangjaycee force-pushed the feature/image_compat branch 2 times, most recently from e86c833 to f7f870f Compare March 6, 2026 06:49
…tibility

- docker_run.sh: detect musl vs glibc; for musl (Alpine) install glibc-compat
  from local apk and set up ld symlinks; for Nix symlink glibc/bash from store
- Use /tmp/data/logs for non-root to avoid permission issues
- runtime_env: run docker_run.sh with bash if available, else sh (minimal images)
- pyproject: Pin numpy<=2.2.6 in rocklet deps for compatibility with older glibc.
- tests: add integration test for sandbox startup on python/ubuntu/alpine/nix images

Signed-off-by: Jiachen Zhang <zjc462490@alibaba-inc.com>
@zhangjaycee zhangjaycee force-pushed the feature/image_compat branch from f7f870f to 2325d52 Compare March 9, 2026 10:08
Copy link
Collaborator

@StephenRi StephenRi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhangjaycee zhangjaycee merged commit 2242d77 into alibaba:master Mar 10, 2026
5 checks 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.

3 participants