Skip to content

fix(docker): resolve arm64 apk failures with deno alpine image#268

Merged
raaymax merged 1 commit into
devfrom
fix/docker-arm64-build
Feb 9, 2026
Merged

fix(docker): resolve arm64 apk failures with deno alpine image#268
raaymax merged 1 commit into
devfrom
fix/docker-arm64-build

Conversation

@raaymax
Copy link
Copy Markdown
Owner

@raaymax raaymax commented Feb 8, 2026

Summary

  • Fix arm64 Docker build failure caused by denoland/deno:alpine-2.6.8 shipping glibc-linked libcrypto.so.3 in /usr/local/lib/
  • Prefix apk commands with LD_LIBRARY_PATH=/usr/lib to use Alpine's musl-based system libraries instead
  • Resolves CI failure on PR chore: release v3.5.0 #233

Context

The Deno Alpine Docker image bundles its own libcrypto.so.3 and libgcc_s.so.1 compiled against glibc, which conflicts with Alpine's musl libc on arm64. This causes apk to fail with "Error relocating" symbol errors (exit code 127).

Known upstream issue: denoland/deno_docker#373

Test plan

  • Verify arm64 Docker build succeeds in CI
  • Verify amd64 Docker build still works

@raaymax raaymax force-pushed the fix/docker-arm64-build branch from c4664f2 to af1475a Compare February 8, 2026 23:25
@raaymax raaymax merged commit c29a814 into dev Feb 9, 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