You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building a Docker image from the repo is not working
The error hints that we need to get a repo
------
> [builder 4/4] RUN CGO_ENABLED=0 go build -o /opt/bin/app github.com/certusone/solana_exporter/cmd/solana_exporter:
0.241 no required module provides package github.com/certusone/solana_exporter/cmd/solana_exporter; to add it:
0.241 go get github.com/certusone/solana_exporter/cmd/solana_exporter
Adding
RUN go get github.com/certusone/solana_exporter/cmd/solana_exporter
before the line
RUN CGO_ENABLED=0 go build -o /opt/bin/app github.com/certusone/solana_exporter/cmd/solana_exporter
fixes the build for me
The text was updated successfully, but these errors were encountered:
Building a Docker image from the repo is not working
The error hints that we need to get a repo
Adding
RUN go get github.com/certusone/solana_exporter/cmd/solana_exporter
before the line
RUN CGO_ENABLED=0 go build -o /opt/bin/app github.com/certusone/solana_exporter/cmd/solana_exporter
fixes the build for me
The text was updated successfully, but these errors were encountered: