From b047c9d317a7da1f44ab53f7eacdb238315e71b5 Mon Sep 17 00:00:00 2001 From: Chris Ainsworth-Patrick Date: Fri, 18 Aug 2023 17:21:02 +0100 Subject: [PATCH] add git to build imge --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index ae5c9f0..1762d0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ FROM golang:1.19-alpine AS build +RUN apk --no-cache add git + WORKDIR /app COPY go.mod ./