Skip to content

feat: Linux multi-arch OpenCode container support#11975

Closed
extreme4all wants to merge 1 commit into
anomalyco:devfrom
extreme4all:patch-1
Closed

feat: Linux multi-arch OpenCode container support#11975
extreme4all wants to merge 1 commit into
anomalyco:devfrom
extreme4all:patch-1

Conversation

@extreme4all

@extreme4all extreme4all commented Feb 3, 2026

Copy link
Copy Markdown

fixes #9246, this is a suggestion for implementation

What this change does:
This PR updates the OpenCode Dockerfile to support Linux containers with both musl and glibc binaries for x64 and arm64 architectures, enabling multi-distro builds beyond Alpine.

Specifically, the new Dockerfile now supports:

Architecture libc / variant Base image Stage / Binary
x64 musl alpine build-x64-musl
x64 glibc debian build-x64-glibc
x64 baseline (AVX2 fallback) debian build-x64-baseline
arm64 musl alpine build-arm64-musl
arm64 glibc debian build-arm64-glibc

this probably needs some more work to build the images to the registery and for testing
I HAVE NOT DONE ANY TESTING, since i can't build for all arches and i don't know how to get the dist/

@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title #9246 Enhancement: Linux multi-arch OpenCode container support doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@extreme4all extreme4all changed the title #9246 Enhancement: Linux multi-arch OpenCode container support feat: Enhancement: Linux multi-arch OpenCode container support Feb 3, 2026
@extreme4all extreme4all changed the title feat: Enhancement: Linux multi-arch OpenCode container support feat: Linux multi-arch OpenCode container support Feb 3, 2026
@github-actions

github-actions Bot commented Feb 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@extreme4all extreme4all closed this by deleting the head repository Mar 14, 2026
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.

[FEATURE]: debian based container

1 participant