Skip to content

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

Merged
zhangjaycee merged 1 commit intoalibaba:release/v1.3from
zhangjaycee:feature/image_fix_1.3
Mar 13, 2026
Merged

feat(rocklet): support Alpine/musl, Nix and glibc older version compatibility (#582)#624
zhangjaycee merged 1 commit intoalibaba:release/v1.3from
zhangjaycee:feature/image_fix_1.3

Conversation

@zhangjaycee
Copy link
Copy Markdown
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

(cherry picked from commit 2242d77)

…tibility (alibaba#582)

- 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>
(cherry picked from commit 2242d77)
Signed-off-by: Jiachen Zhang <zjc462490@alibaba-inc.com>
@zhangjaycee zhangjaycee merged commit 0d1b399 into alibaba:release/v1.3 Mar 13, 2026
4 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.

1 participant