Commit cfb6e55 1 parent bbfcb52 commit cfb6e55 Copy full SHA for cfb6e55
File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,18 @@ FROM golang:1.22-alpine AS build
2
2
3
3
# Use ARG values for tool versions
4
4
ARG TARGETARCH
5
- ARG GETH_NODE_VERSION=v1.14.3
6
5
ARG PRYSM_VERSION=v5.0.3
7
6
8
7
# Install dependencies
9
8
RUN apk update &&\
10
9
apk add --no-cache \
11
- gcc g++ make musl-dev linux-headers git git-lfs
10
+ libc6-compat gcc make musl-dev linux-headers git git-lfs curl
12
11
13
12
# Download and set up Prysm binaries
14
- ADD https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/beacon-chain-${PRYSM_VERSION}-linux-${TARGETARCH} /usr/bin/prysm-beacon
15
- ADD https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/validator-${PRYSM_VERSION}-linux-${TARGETARCH} /usr/bin/prysm-validator
16
- ADD https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/prysmctl-${PRYSM_VERSION}-linux-${TARGETARCH} /usr/bin/prysm-ctl
17
- RUN chmod +x /usr/bin/prysm-beacon /usr/bin/prysm-validator /usr/bin/prysm-ctl
13
+ RUN curl -L https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/beacon-chain-${PRYSM_VERSION}-linux-${TARGETARCH} -o /usr/bin/prysm-beacon &&\
14
+ curl -L https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/validator-${PRYSM_VERSION}-linux-${TARGETARCH} -o /usr/bin/prysm-validator &&\
15
+ curl -L https://github.com/prysmaticlabs/prysm/releases/download/${PRYSM_VERSION}/prysmctl-${PRYSM_VERSION}-linux-${TARGETARCH} -o /usr/bin/prysm-ctl &&\
16
+ chmod +x /usr/bin/prysm-beacon /usr/bin/prysm-validator /usr/bin/prysm-ctl
18
17
19
18
WORKDIR /go-ethereum
20
19
You can’t perform that action at this time.
0 commit comments