Skip to content

Commit 166103d

Browse files
committed
Getting geth via Standalone bundle
1 parent aa2505b commit 166103d

File tree

2 files changed

+21
-14
lines changed

2 files changed

+21
-14
lines changed

GethNode/Dockerfile

+20-14
Original file line numberDiff line numberDiff line change
@@ -8,40 +8,44 @@ FROM ubuntu:22.04
88
ENV DEBIAN_FRONTEND=noninteractive
99

1010
############################### Install packages ###############################
11-
RUN apt-get update -y && \
12-
apt-get install -y \
13-
apt-utils \
14-
lsb-release
15-
1611
RUN apt-get update -y && \
1712
apt-get upgrade -y
1813

19-
RUN apt-get update -y && \
20-
apt-get install -y software-properties-common && \
21-
add-apt-repository -y ppa:ethereum/ethereum
22-
23-
# Geth
24-
ARG ETH_VER=1.13.11+build29387+jammy
2514
RUN apt-get update -y && \
2615
apt-get install -y \
27-
ethereum=${ETH_VER} \
16+
apt-utils \
17+
lsb-release \
2818
python3 \
2919
python3-pip \
3020
openssl \
3121
curl
3222

23+
# Geth
24+
ARG ETH_VER=1.13.14-2bd6bd01
25+
RUN mkdir /opt/geth
26+
RUN curl -fsSL https://gethstore.blob.core.windows.net/builds/geth-alltools-linux-amd64-${ETH_VER}.tar.gz \
27+
--output /opt/geth/geth.tar.gz
28+
RUN echo $(sha256sum /opt/geth/geth.tar.gz)
29+
RUN echo $(md5sum /opt/geth/geth.tar.gz)
30+
RUN tar -xvzf /opt/geth/geth.tar.gz -C /opt/geth --strip-components=1
31+
ENV PATH="/opt/geth:${PATH}"
32+
3333
# Prysm
34-
ARG PRYSM_VER=v4.2.0
34+
ARG PRYSM_VER=v5.0.0
3535
RUN mkdir /opt/prysm
3636
RUN curl -L https://github.com/prysmaticlabs/prysm/raw/${PRYSM_VER}/prysm.sh \
3737
--output /opt/prysm/prysm.sh
38+
RUN echo $(sha256sum /opt/prysm/prysm.sh)
39+
RUN echo $(md5sum /opt/prysm/prysm.sh)
3840
RUN chmod 755 /opt/prysm/prysm.sh
3941

4042
# Lighthouse
41-
ARG LIGHTHOUSE_VER=v4.6.0
43+
ARG LIGHTHOUSE_VER=v5.0.0
4244
RUN mkdir /opt/lighthouse
4345
RUN curl -L https://github.com/sigp/lighthouse/releases/download/${LIGHTHOUSE_VER}/lighthouse-${LIGHTHOUSE_VER}-$(uname -m)-unknown-linux-gnu.tar.gz \
4446
--output /opt/lighthouse/lighthouse-linux-gnu.tar.gz
47+
RUN echo $(sha256sum /opt/lighthouse/lighthouse-linux-gnu.tar.gz)
48+
RUN echo $(md5sum /opt/lighthouse/lighthouse-linux-gnu.tar.gz)
4549
RUN tar -xvf /opt/lighthouse/lighthouse-linux-gnu.tar.gz -C /opt/lighthouse
4650
RUN chmod 755 /opt/lighthouse/lighthouse
4751

@@ -53,6 +57,8 @@ RUN export ARCH=`uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/` && \
5357
curl -L https://github.com/ethereum/staking-deposit-cli/releases/download/${STAKE_CLI_VER}/staking_deposit-cli-${STAKE_CLI_HASH}-linux-${ARCH}.tar.gz \
5458
--output /opt/staking-deposit-cli/staking-deposit-cli.tar.gz && \
5559
export ARCH=""
60+
RUN echo $(sha256sum /opt/staking-deposit-cli/staking-deposit-cli.tar.gz)
61+
RUN echo $(md5sum /opt/staking-deposit-cli/staking-deposit-cli.tar.gz)
5662
RUN tar -xvf /opt/staking-deposit-cli/staking-deposit-cli.tar.gz --strip-components=2 -C /opt/staking-deposit-cli
5763
################################################################################
5864

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ docker build \
2727

2828
```sh
2929
docker build \
30+
--progress=plain \
3031
-t ghcr.io/lsd-ucsc/decent-gethnode:local \
3132
./GethNode
3233
```

0 commit comments

Comments
 (0)