@@ -8,40 +8,44 @@ FROM ubuntu:22.04
8
8
ENV DEBIAN_FRONTEND=noninteractive
9
9
10
10
# ############################## Install packages ###############################
11
- RUN apt-get update -y && \
12
- apt-get install -y \
13
- apt-utils \
14
- lsb-release
15
-
16
11
RUN apt-get update -y && \
17
12
apt-get upgrade -y
18
13
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
25
14
RUN apt-get update -y && \
26
15
apt-get install -y \
27
- ethereum=${ETH_VER} \
16
+ apt-utils \
17
+ lsb-release \
28
18
python3 \
29
19
python3-pip \
30
20
openssl \
31
21
curl
32
22
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
+
33
33
# Prysm
34
- ARG PRYSM_VER=v4.2 .0
34
+ ARG PRYSM_VER=v5.0 .0
35
35
RUN mkdir /opt/prysm
36
36
RUN curl -L https://github.com/prysmaticlabs/prysm/raw/${PRYSM_VER}/prysm.sh \
37
37
--output /opt/prysm/prysm.sh
38
+ RUN echo $(sha256sum /opt/prysm/prysm.sh)
39
+ RUN echo $(md5sum /opt/prysm/prysm.sh)
38
40
RUN chmod 755 /opt/prysm/prysm.sh
39
41
40
42
# Lighthouse
41
- ARG LIGHTHOUSE_VER=v4.6 .0
43
+ ARG LIGHTHOUSE_VER=v5.0 .0
42
44
RUN mkdir /opt/lighthouse
43
45
RUN curl -L https://github.com/sigp/lighthouse/releases/download/${LIGHTHOUSE_VER}/lighthouse-${LIGHTHOUSE_VER}-$(uname -m)-unknown-linux-gnu.tar.gz \
44
46
--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)
45
49
RUN tar -xvf /opt/lighthouse/lighthouse-linux-gnu.tar.gz -C /opt/lighthouse
46
50
RUN chmod 755 /opt/lighthouse/lighthouse
47
51
@@ -53,6 +57,8 @@ RUN export ARCH=`uname -m | sed s/aarch64/arm64/ | sed s/x86_64/amd64/` && \
53
57
curl -L https://github.com/ethereum/staking-deposit-cli/releases/download/${STAKE_CLI_VER}/staking_deposit-cli-${STAKE_CLI_HASH}-linux-${ARCH}.tar.gz \
54
58
--output /opt/staking-deposit-cli/staking-deposit-cli.tar.gz && \
55
59
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)
56
62
RUN tar -xvf /opt/staking-deposit-cli/staking-deposit-cli.tar.gz --strip-components=2 -C /opt/staking-deposit-cli
57
63
# ###############################################################################
58
64
0 commit comments