From db7efff80d6e11b6f662084e3bcc510ecc6540b6 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 10 Feb 2023 15:26:56 +1100 Subject: [PATCH] Update 'Dockerfile' alpine doesn't have git so download a release instead --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 182ff29..57ff994 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,8 @@ WORKDIR /src ENV CGO_LDFLAGS "-static -w -s" -RUN git clone https://git.coadcorp.com/nathan/json2excel.git && \ +RUN wget https://git.coadcorp.com/nathan/json2excel/archive/initial.zip && \ + unzip json2excel-initial.zip && \ cd json2excel && \ go mod download && \ go build -o /json2excel cmd/main/main.go