Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kish5430 opened this issue Aug 13, 2024 · 0 comments
Open

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

kish5430 opened this issue Aug 13, 2024 · 0 comments

Comments

@kish5430
Copy link

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

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

No branches or pull requests

1 participant