From 3952f0ba0f36cc2a0a42363996bfa79e9c4c1f8f Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Sat, 18 May 2024 13:44:51 +0300 Subject: [PATCH] add git to build stage --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index f28f4e2f..46b85d30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ ENV GOARCH=${TARGETARCH} WORKDIR /build +RUN apk add git + # Cache dependencies COPY go.mod go.sum ./ RUN --mount=type=cache,target=/root/.cache/go-build go mod download