This is an automated email from the ASF dual-hosted git repository.
baerwang pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git
The following commit(s) were added to refs/heads/develop by this push:
new 37642626 fix: Fixed ARM64 Build Support (#872)
37642626 is described below
commit 37642626fddb4d55f501af25ff77b35b6048da75
Author: aias00 <[email protected]>
AuthorDate: Tue Jan 27 10:57:04 2026 +0800
fix: Fixed ARM64 Build Support (#872)
* Fixed ARM64 Build Support:
- Modified Dockerfile to remove the hardcoded GOARCH=amd64 setting.
- This allows the build process to respect the host's native
architecture (ARM64 on Apple Silicon), resolving the unrecognized command-line
option '-m64' error
Signed-off-by: liuhy <[email protected]>
* fix: update goversion to use a simple version string
---------
Signed-off-by: liuhy <[email protected]>
---
.github/workflows/release.yml | 2 +-
Dockerfile | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 77db0317..4a9d1836 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -48,7 +48,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
- goversion: "https://golang.org/dl/go1.25.0.linux-amd64.tar.gz"
+ goversion: "1.25.0"
project_path: "./cmd/pixiu"
binary_name: "dubbo-go-pixiu"
extra_files: LICENSE README.md
\ No newline at end of file
diff --git a/Dockerfile b/Dockerfile
index caf0a4c9..604ef856 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -31,8 +31,7 @@ RUN go mod download
COPY . .
ENV CGO_ENABLED=1 \
- GOOS=linux \
- GOARCH=amd64
+ GOOS=linux
# Here I still remains "wasmer" tag, because we need to build the wasmer plugin
# if wasm feature is removed in the future, this tag and following wasm
related command can be removed