milvus-io / birdwatcher

Apache License 2.0
46 stars 33 forks source link

[Bug]: Docker build is not supporting arm architecture #295

Open kish5430 opened 3 months ago

kish5430 commented 3 months ago

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