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

Build Failed Dockerfile #89

Closed
longhoangwkm opened this issue Feb 24, 2021 · 2 comments
Closed

Build Failed Dockerfile #89

longhoangwkm opened this issue Feb 24, 2021 · 2 comments

Comments

@longhoangwkm
Copy link

longhoangwkm commented Feb 24, 2021

Hi there,

I cloned and built image with master branch but got this error

System information

Docker
Commit hash : master

Expected behaviour

Actual behaviour

Build Failed

Steps to reproduce the behaviour

Backtrace

➜  bsc git:(master) docker build -t bsc:master .
Sending build context to Docker daemon  159.6MB
Step 1/13 : FROM golang:1.15-alpine as builder
 ---> 85ad54a21c4a
Step 2/13 : RUN apk add --no-cache make gcc musl-dev linux-headers git bash
 ---> Using cache
 ---> d32c67b99b78
Step 3/13 : ADD https://golang.org/dl/go1.15.5.src.tar.gz /tmp/go.tar.gz
Downloading [==================================================>]  23.02MB/23.02MB

 ---> Using cache
 ---> 09046ce9e194
Step 4/13 : RUN (cd /tmp && tar -xf go.tar.gz)
 ---> Using cache
 ---> 66569d5b620e
Step 5/13 : RUN (cd /tmp/go/src && ./make.bash)
 ---> Using cache
 ---> 01333524b051
Step 6/13 : ENV PATH="/tmp/go/bin:${PATH}"
 ---> Using cache
 ---> 36c443be8130
Step 7/13 : ADD . /go-ethereum
 ---> 2dc43cb20800
Step 8/13 : RUN cd /go-ethereum && make geth
 ---> Running in 86f87ff05483
env GO111MODULE=on go run build/ci.go install ./cmd/geth
go: github.com/btcsuite/btcd@v0.20.0-beta: reading github.com/btcsuite/btcd/go.mod at revision v0.20.0-beta: unknown revision v0.20.0-beta
make: *** [Makefile:16: geth] Error 1
The command '/bin/sh -c cd /go-ethereum && make geth' returned a non-zero code: 2
@longhoangwkm
Copy link
Author

longhoangwkm commented Feb 24, 2021

It worked after I upgraded version btcd to github.com/btcsuite/btcd v0.21.0-beta in mod file. Please help me recheck

@unclezoro
Copy link
Collaborator

I guess you have tried to compile it outside the container with a different golang sdk and change the go.sum file. Try git stash and build the image again. I can not reproduce this, just close it now.

galaio pushed a commit to galaio/bsc that referenced this issue Jul 31, 2024
…ith-time

Update goerli regolith hardfork time
galaio pushed a commit to galaio/bsc that referenced this issue Jul 31, 2024
Co-authored-by: andyzhang2023 <andyzhang2023@gmail.com>
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

2 participants