From d869b5fce815aa5bc967d9afa18ca5ce5fc0f9fc Mon Sep 17 00:00:00 2001 From: Victor Date: Wed, 20 Apr 2022 15:36:26 +0100 Subject: [PATCH] fix: Docker build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 08ecd91..45b89af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,6 @@ FROM golang:1.18.1-alpine AS builder WORKDIR /src COPY . . -RUN go mod download && \ +RUN apk add --no-cache git && \ + go mod download && \ CGO_ENABLED=0 go build -ldflags="-s -w" -o "SignTools-Builder"