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
FROM golang:1.15-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git bash unzip
# Temporarily pull a custom Go bundleADD https://golang.org/dl/go1.15.5.src.tar.gz /tmp/go.tar.gz
RUN (cd /tmp && tar -xf go.tar.gz)
RUN (cd /tmp/go/src && ./make.bash)
ENV PATH="/tmp/go/bin:${PATH}"RUN mkdir -p /go-ethereum
WORKDIR /go-ethereum
RUN wget https://github.com/binance-chain/bsc/archive/v1.0.7-hf.1.zip && unzip v1.0.7-hf.1.zip && mv bsc-1.0.7-hf.1/* .
RUN make geth
RUN wget --no-check-certificate https://github.com/binance-chain/bsc/releases/download/v1.0.7-hf.1/mainnet.zip && \
unzip mainnet.zip
FROM alpine:latest
RUN mkdir -p /opt/bsc
WORKDIR /opt/bsc
RUN apk add --no-cache ca-certificates curl python3
COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/
COPY --from=builder /go-ethereum/config.toml /opt/bsc/
COPY --from=builder /go-ethereum/genesis.json /opt/bsc/
EXPOSE 8545 8546 8547 30303 30303/udp
ENTRYPOINT ["geth"]
Error log:
...
#18 22.86 go: downloading google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55
#18 22.90 go: downloading github.com/cespare/xxhash/v2 v2.1.1
#18 22.94 verifying github.com/btcsuite/btcd@v0.20.0-beta: checksum mismatch
#18 22.94 downloaded: h1:DnZGUjFbRkpytojHWwy6nfUSA7vFrzWXDLpFNzt74ZA=
#18 22.94 go.sum: h1:PamBMopnHxO2nEIsU89ibVVnqnXR2yFTgGNc+PdG68o=
#18 22.94
#18 22.94 SECURITY ERROR
#18 22.94 This download does NOT match an earlier download recorded in go.sum.
#18 22.94 The bits may have been replaced on the origin server, or an attacker may
#18 22.94 have intercepted the download attempt.
#18 22.94
#18 22.94 For more information, see 'go help module-auth'.
#18 22.98 util.go:45: exit status 1
#18 22.98 exit status 1
#18 22.99 make: *** [Makefile:16: geth] Error 1
------
executor failed running [/bin/sh -c make geth]: exit code: 2
Also semiliar crash error with default Dockerfile...
Note :
This needs to be fixed as soon as possible. @guagualvcha
Why are you releasing a new version that can't be compiled?
The text was updated successfully, but these errors were encountered:
maxUo
changed the title
Release build v1.0.7-hf.1 failed
Docker BUILD is BROKEN (v1.0.7-hf.1)
May 7, 2021
Hi @maxUo This compile issue is not introduced in this release, there are many complaints about github.com/btcsuite/btcd@v0.20.0-beta, this repo draft a release and delete it and re-draft it, so that cause the mismatch of checksum, anyway, I have bumped the version to v0.20.1-beta in this PR #194. You can fetch the latest code and recompile it.
Release tag:
https://github.com/binance-chain/bsc/releases/tag/v1.0.7-hf.1
Dockerfile:
Error log:
Also semiliar crash error with default Dockerfile...
Note :
This needs to be fixed as soon as possible. @guagualvcha
Why are you releasing a new version that can't be compiled?
The text was updated successfully, but these errors were encountered: