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

Update to v1.1.0-beta #5

Merged
merged 1 commit into from
May 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
FROM golang:1.16-alpine as builder
FROM debian:stable-slim

RUN apk add --no-cache make gcc musl-dev linux-headers git
RUN git clone --depth 1 --branch upgrade_1.10.2 https://github.com/binance-chain/bsc.git /bsc
RUN cd /bsc && make geth

FROM alpine:latest

RUN apk add --no-cache wget curl procps net-tools htop
COPY --from=builder /bsc/build/bin/geth /usr/local/bin/
RUN apt-get update -y && apt-get install wget curl procps net-tools htop -y
RUN wget --no-check-certificate https://github.com/binance-chain/bsc/releases/download/v1.1.0-beta/geth_linux && chmod 744 geth_linux && mv geth_linux /usr/local/bin/geth

ENTRYPOINT ["geth"]