From 4220bb8fbf347368afa4bc9b8cddccad49b6fdf0 Mon Sep 17 00:00:00 2001 From: Joey den Broeder Date: Wed, 20 Nov 2024 10:30:20 +0000 Subject: [PATCH] fix(container): install git in container With the switch to Alpine in #4185, `--from-last-tag` no longer works. This is because git is no longer available in the container. --- Dockerfile.ci | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.ci b/Dockerfile.ci index 3e20d82d7a..25a4fec074 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -26,6 +26,7 @@ RUN yarn install --frozen-lockfile --network-timeout 100000 && \ npm pack @commitlint/config-conventional FROM docker.io/library/node:18-alpine +RUN apk add --no-cache git COPY --from=builder /src/*.tgz ./ RUN npm config set fetch-retry-mintimeout 20000 && \ npm config set fetch-retry-maxtimeout 120000 && \