From bbdd876165396fd753abc522bdd6e8a5d2a4c768 Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Tue, 7 Jan 2025 12:48:00 +0400 Subject: [PATCH 1/2] add prysmctl docker image added to starship --- starship/docker/chains/Dockerfile.eth-prysmctl | 17 +++++++++++++++++ starship/docker/chains/versions.yaml | 5 +++++ 2 files changed, 22 insertions(+) create mode 100644 starship/docker/chains/Dockerfile.eth-prysmctl diff --git a/starship/docker/chains/Dockerfile.eth-prysmctl b/starship/docker/chains/Dockerfile.eth-prysmctl new file mode 100644 index 00000000..70b85394 --- /dev/null +++ b/starship/docker/chains/Dockerfile.eth-prysmctl @@ -0,0 +1,17 @@ +ARG BASE_IMAGE +ARG VERSION +FROM ${BASE_IMAGE}:${VERSION} AS source + +FROM alpine:3.17 + +LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship" + +COPY --from=source /prysmctl /usr/bin + +# Set up dependencies +ENV PACKAGES curl make bash jq sed + +# Install minimum necessary dependencies +RUN apk add --no-cache $PACKAGES + +WORKDIR /opt diff --git a/starship/docker/chains/versions.yaml b/starship/docker/chains/versions.yaml index 9be24ee3..979b2729 100644 --- a/starship/docker/chains/versions.yaml +++ b/starship/docker/chains/versions.yaml @@ -159,3 +159,8 @@ chains: tags: - stable - v5.2.0 + - name: prysm/cmd/prysmctl + base: gcr.io/prysmaticlabs/prysm/cmd/prysmctl + tags: + - stable + - v5.2.0 From fdb2913050f29818011ee7be369e408fc9cdbe41 Mon Sep 17 00:00:00 2001 From: Anmol1696 Date: Tue, 7 Jan 2025 12:48:36 +0400 Subject: [PATCH 2/2] update version file for prysmctl --- starship/docker/chains/versions.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/starship/docker/chains/versions.yaml b/starship/docker/chains/versions.yaml index 979b2729..4abff082 100644 --- a/starship/docker/chains/versions.yaml +++ b/starship/docker/chains/versions.yaml @@ -161,6 +161,7 @@ chains: - v5.2.0 - name: prysm/cmd/prysmctl base: gcr.io/prysmaticlabs/prysm/cmd/prysmctl + file: Dockerfile.eth-prysmctl tags: - stable - v5.2.0