Skip to content

Commit

Permalink
docker: add eth chains and there version in docker (#594)
Browse files Browse the repository at this point in the history
* add eth chains and there version in docker

* remove unused docker version

* fix validator file

* update eth chain names
  • Loading branch information
Anmol1696 authored Dec 24, 2024
1 parent 199f4b6 commit 5635e85
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
13 changes: 13 additions & 0 deletions starship/docker/chains/Dockerfile.base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ARG BASE_IMAGE
ARG VERSION
FROM ${BASE_IMAGE}:${VERSION}

LABEL org.opencontainers.image.source="https://github.com/cosmology-tech/starship"

# Set up dependencies
ENV PACKAGES curl make bash jq sed

# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES

WORKDIR /opt
17 changes: 17 additions & 0 deletions starship/docker/chains/Dockerfile.eth-beacon
Original file line number Diff line number Diff line change
@@ -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 /beacon-chain /usr/bin

# Set up dependencies
ENV PACKAGES curl make bash jq sed

# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES

WORKDIR /opt
17 changes: 17 additions & 0 deletions starship/docker/chains/Dockerfile.eth-validator
Original file line number Diff line number Diff line change
@@ -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 /validator /usr/bin

# Set up dependencies
ENV PACKAGES curl make bash jq sed

# Install minimum necessary dependencies
RUN apk add --no-cache $PACKAGES

WORKDIR /opt
20 changes: 20 additions & 0 deletions starship/docker/chains/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,23 @@ chains:
tags:
- v8.0.3
- v7.0.0
- name: ethereum/client-go
base: ethereum/client-go
file: Dockerfile.base
tags:
- latest
- stable
- v1.14.12
- v1.14.11
- name: prysm/beacon-chain
base: gcr.io/prysmaticlabs/prysm/beacon-chain
file: Dockerfile.eth-beacon
tags:
- stable
- v5.2.0
- name: prysm/validator
base: gcr.io/prysmaticlabs/prysm/validator
file: Dockerfile.eth-validator
tags:
- stable
- v5.2.0

0 comments on commit 5635e85

Please sign in to comment.