diff --git a/bsc/Dockerfile b/bsc/Dockerfile index 35920fa..a23ef16 100644 --- a/bsc/Dockerfile +++ b/bsc/Dockerfile @@ -3,14 +3,14 @@ FROM golang:1.19-alpine as builder ARG BSC_TAG -RUN apk add --no-cache make gcc musl-dev linux-headers git bash +RUN apk add --no-cache make cmake gcc musl-dev linux-headers git bash build-base libc-dev RUN cd / && git clone --branch ${BSC_TAG} --single-branch https://github.com/bnb-chain/bsc.git && cd ./bsc && make geth # Pull Geth into a second stage deploy alpine container FROM alpine:latest -RUN apk add --no-cache ca-certificates curl jq tini +RUN apk add --no-cache ca-certificates curl jq tini gcc COPY --from=builder /bsc/build/bin/geth /usr/local/bin/bsc COPY ./docker-entrypoint.sh /usr/local/bin/ diff --git a/bsc/example.env b/bsc/example.env index 16ddee1..0dbd32c 100644 --- a/bsc/example.env +++ b/bsc/example.env @@ -10,4 +10,4 @@ WS_PORT=8526 # Comma-separated list of addresses to treat as "local" TX_LOCAL_ADDR=0x0000000000000000000000000000000000000000 # Use latest stable version: https://github.com/bnb-chain/bsc/tags -BSC_TAG=v1.1.19 \ No newline at end of file +BSC_TAG=v1.2.4 \ No newline at end of file