We tried to build with vessel to support both arm and amd. But we are getting below error at "RUN GOPROXY="https://goproxy.cn,direct" go build -o /birdwatcher/bin/birdwatcher -tags WKAFKA main.go" line.
Can you plz suggest the changes to support this for arm hosts.
Error details:
=> [linux/amd64 build 4/6] WORKDIR /birdwatcher 0.3s
=> [linux/arm64 build 4/6] WORKDIR /birdwatcher 0.3s
=> CANCELED [linux/amd64 build 5/6] RUN dnf update && dnf install gcc 178.3s
=> [linux/arm64 build 5/6] RUN dnf update && dnf install gcc 55.2s
=> ERROR [linux/arm64 build 6/6] RUN GOPROXY="https://goproxy.cn,direct" go build -o /birdwatcher/bin/birdwatcher -tags WKAFKA main.go 123.1s
ERR: failed to solve: process "/bin/bash -eo pipefail -c GOPROXY="https://goproxy.cn,direct" go build -o /birdwatcher/bin/birdwatcher -tags WKAFKA main.go" did not complete successfully: exit code: 1
Current Behavior
HI Team,
We tried to build with vessel to support both arm and amd. But we are getting below error at "RUN GOPROXY="https://goproxy.cn,direct" go build -o /birdwatcher/bin/birdwatcher -tags WKAFKA main.go" line.
Can you plz suggest the changes to support this for arm hosts.
Error details: => [linux/amd64 build 4/6] WORKDIR /birdwatcher 0.3s => [linux/arm64 build 4/6] WORKDIR /birdwatcher 0.3s => CANCELED [linux/amd64 build 5/6] RUN dnf update && dnf install gcc 178.3s => [linux/arm64 build 5/6] RUN dnf update && dnf install gcc 55.2s => ERROR [linux/arm64 build 6/6] RUN GOPROXY="https://goproxy.cn,direct" go build -o /birdwatcher/bin/birdwatcher -tags WKAFKA main.go 123.1s ERR: failed to solve: process "/bin/bash -eo pipefail -c GOPROXY="https://goproxy.cn,direct" go build -o /birdwatcher/bin/birdwatcher -tags WKAFKA main.go" did not complete successfully: exit code: 1
Expected Behavior
No response
Steps To Reproduce
No response
Environment
No response
Anything else?
No response