From cce225a8628682c00a91e9606f81861b8e6ce205 Mon Sep 17 00:00:00 2001 From: Anmol Date: Wed, 8 Jan 2025 18:06:47 +0530 Subject: [PATCH] try to use bullseye instead of alpine (#598) --- starship/docker/chains/Dockerfile.eth-beacon | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/starship/docker/chains/Dockerfile.eth-beacon b/starship/docker/chains/Dockerfile.eth-beacon index 6fa3cc2a..0b18f48c 100644 --- a/starship/docker/chains/Dockerfile.eth-beacon +++ b/starship/docker/chains/Dockerfile.eth-beacon @@ -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