Skip to content

Commit

Permalink
hotfix: move arg version before download binary
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 committed Jan 15, 2025
1 parent e6a5601 commit 11b921f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 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
3 changes: 2 additions & 1 deletion 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 Down
3 changes: 2 additions & 1 deletion 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 Down

0 comments on commit 11b921f

Please sign in to comment.