Skip to content

Commit

Permalink
Merge branch 'main' into anmol/eth-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Jan 15, 2025
2 parents f863846 + 4440748 commit cf92b04
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
3 changes: 2 additions & 1 deletion starship/docker/chains/Dockerfile.eth-beacon
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ARG VERSION
FROM golang:1.22.0-bullseye

LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship"
Expand All @@ -14,6 +13,8 @@ RUN apt-get update --yes && \

WORKDIR /opt

ARG VERSION

# Download and install the beacon-chain binary
RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') && \
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]') && \
Expand Down
6 changes: 2 additions & 4 deletions starship/docker/chains/Dockerfile.eth-prysmctl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ARG VERSION
FROM golang:1.22.0-bullseye

LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship"
Expand All @@ -14,6 +13,8 @@ RUN apt-get update --yes && \

WORKDIR /opt

ARG VERSION

# Download and install the prysmctl binary
RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') && \
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]') && \
Expand All @@ -22,6 +23,3 @@ RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') && \
curl -LO https://github.com/prysmaticlabs/prysm/releases/download/${VERSION}/$BINARY_NAME && \
chmod +x $BINARY_NAME && \
mv $BINARY_NAME /usr/bin/prysmctl

# Verify installation
RUN prysmctl --version
6 changes: 2 additions & 4 deletions starship/docker/chains/Dockerfile.eth-validator
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ARG VERSION
FROM golang:1.22.0-bullseye

LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship"
Expand All @@ -14,6 +13,8 @@ RUN apt-get update --yes && \

WORKDIR /opt

ARG VERSION

# Download and install the validator binary
RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') && \
PLATFORM=$(uname -s | tr '[:upper:]' '[:lower:]') && \
Expand All @@ -22,6 +23,3 @@ RUN ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') && \
curl -LO https://github.com/prysmaticlabs/prysm/releases/download/${VERSION}/$BINARY_NAME && \
chmod +x $BINARY_NAME && \
mv $BINARY_NAME /usr/bin/validator

# Verify installation
RUN validator --version

0 comments on commit cf92b04

Please sign in to comment.