Skip to content

Commit

Permalink
try to use bullseye instead of alpine (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Jan 8, 2025
1 parent 768e127 commit cce225a
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions starship/docker/chains/Dockerfile.eth-beacon
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@ ARG BASE_IMAGE
ARG VERSION
FROM ${BASE_IMAGE}:${VERSION} AS source

FROM alpine:3.17
FROM golang:1.21-bullseye

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
RUN apt-get update && apt-get install -y \
jq \
curl \
make \
bash \
jq \
sed \
build-essential \
ca-certificates \
libssl-dev \
unzip \
zip \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /opt

0 comments on commit cce225a

Please sign in to comment.