Repository navigation
Multi-arch rootless image (amd64 + arm64) - #1
Merged
Merged
Conversation
The finoptic-internal EKS cluster is moving to Graviton (arm64), and dcodetech/gitea:v1.20-dcode.3-rootless is amd64-only. Dockerfile.rootless now runs its build stage on the build host's platform and cross-compiles the gitea binary (cgo, for sqlite) with tonistiigi/xx, so a two-platform build needs no emulated Go or node toolchain. The frontend and go generate/bindata steps are platform-independent and run once, natively. The runtime stage is unchanged. GITEA_BUILD_VERSION sets the version string when the build context has no usable .git directory (a git worktree). The new docker-multiarch make target builds and pushes both platforms. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014NcddqY43b3wAdjBdjcnFf
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.
Multi-arch (linux/amd64 + linux/arm64) builds, part of moving EKS to arm64 (Graviton).
🤖 Generated with Claude Code
https://claude.ai/code/session_014NcddqY43b3wAdjBdjcnFf