From cbfecdbaf7701199bbe9c221e05509adc4fe0713 Mon Sep 17 00:00:00 2001 From: Yorick Date: Sat, 5 Oct 2024 04:45:14 +0000 Subject: [PATCH] Lodestar source build with 22-slim --- lodestar/Dockerfile.source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodestar/Dockerfile.source b/lodestar/Dockerfile.source index 0a9fcf2b..401eeadd 100644 --- a/lodestar/Dockerfile.source +++ b/lodestar/Dockerfile.source @@ -1,4 +1,4 @@ -FROM node:22.4-slim AS builder +FROM node:22-slim AS builder # Here only to avoid build-time errors ARG DOCKER_TAG @@ -16,7 +16,7 @@ RUN bash -c "cd .. && rm -rf app && git clone ${SRC_REPO} app && cd app && git c && if [[ ${BUILD_TARGET} =~ pr-.+ ]]; then git fetch origin pull/$(echo ${BUILD_TARGET} | cut -d '-' -f 2)/head:ls-pr; git checkout ls-pr; else git checkout ${BUILD_TARGET}; fi \ && yarn install --non-interactive --frozen-lockfile && yarn build" -FROM node:22.4-slim +FROM node:22-slim RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates tzdata bash gosu git wget \ && apt-get clean && rm -rf /var/lib/apt/lists/*