From 077cab3b4682f7a73e3504e2323cb4feac2e3439 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 17 Dec 2024 20:35:30 +0100 Subject: [PATCH] Disable corepack auto-pin during build (#4581) --- docker/Dockerfile.make | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.make b/docker/Dockerfile.make index 8bedc7dae..44718613a 100644 --- a/docker/Dockerfile.make +++ b/docker/Dockerfile.make @@ -1,5 +1,5 @@ -# docker build --rm -f docker/Dockerfile.make -t woodpecker/make:local . -FROM docker.io/golang:1.23-alpine as golang_image +# docker build --rm -f docker/Dockerfile.make -t woodpecker/make:local . +FROM docker.io/golang:1.23-alpine AS golang_image FROM docker.io/node:23-alpine RUN apk add --no-cache --update make gcc binutils-gold musl-dev protoc && \ @@ -10,6 +10,7 @@ COPY --from=golang_image /usr/local/go /usr/local/go COPY Makefile / ENV PATH=$PATH:/usr/local/go/bin ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0 +ENV COREPACK_ENABLE_AUTO_PIN=0 # Cache tools RUN GOBIN=/usr/local/go/bin make install-tools && \