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

Not able to build zeta-chain node #3316

Open
nebojsa-ristovic opened this issue Dec 18, 2024 · 1 comment
Open

Not able to build zeta-chain node #3316

nebojsa-ristovic opened this issue Dec 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working infra Infrastructure and node related

Comments

@nebojsa-ristovic
Copy link

nebojsa-ristovic commented Dec 18, 2024

Describe the Bug
When I run docker build . -f Dockerfile

[+] Building 1.2s (12/20)
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                      0.0s
 => => transferring dockerfile: 2.34kB                                                                                                                                                                                                                    0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                         0.0s
 => => transferring context: 230B                                                                                                                                                                                                                         0.0s
 => [internal] load metadata for docker.io/library/golang:1.22-alpine3.18                                                                                                                                                                                 0.0s
 => [internal] load metadata for docker.io/library/alpine:3.18                                                                                                                                                                                            0.0s
 => [internal] load build context                                                                                                                                                                                                                         0.8s
 => => transferring context: 17.26MB                                                                                                                                                                                                                      0.8s
 => [builder 1/8] FROM docker.io/library/golang:1.22-alpine3.18                                                                                                                                                                                           0.0s
 => [stage-1 1/7] FROM docker.io/library/alpine:3.18                                                                                                                                                                                                      0.0s
 => CACHED [builder 2/8] RUN apk --no-cache add git make build-base jq openssh libusb-dev linux-headers bash curl python3 py3-pip                                                                                                                         0.0s
 => CACHED [builder 3/8] WORKDIR /go/delivery/zeta-node                                                                                                                                                                                                   0.0s
 => CACHED [builder 4/8] COPY go.mod .                                                                                                                                                                                                                    0.0s
 => CACHED [builder 5/8] COPY go.sum .                                                                                                                                                                                                                    0.0s
 => ERROR [builder 6/8] RUN go mod download                                                                                                                                                                                                               0.4s
------
 > [builder 6/8] RUN go mod download:
#14 0.292 go: go.mod requires go >= 1.22.7 (running go 1.22.3; GOTOOLCHAIN=local)
------
executor failed running [/bin/sh -c go mod download]: exit code: 1

It's expected for image to be built.

Building on macOS Sonoma Version 14.5

p.s. It's the same issue from your github action - https://github.com/zeta-chain/node/actions/runs/12237577778/job/34133645670

@nebojsa-ristovic nebojsa-ristovic added the bug Something isn't working label Dec 18, 2024
@gartnera gartnera added the infra Infrastructure and node related label Dec 18, 2024
@gartnera
Copy link
Member

https://github.com/zeta-chain/zetacored-docker is our actively supported way of running zetacored in docker.

I can fix this up if you really need it. What do you use to automate the upgrades?

@gartnera gartnera self-assigned this Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infra Infrastructure and node related
Projects
None yet
Development

No branches or pull requests

2 participants