Update 'Dockerfile'
Some checks failed
continuous-integration/drone/push Build is failing

alpine doesn't have git so download a release instead
This commit is contained in:
2023-02-10 15:26:56 +11:00
parent 6ac33097c8
commit db7efff80d

View File

@@ -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