alpine doesn't have git so download a release instead
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user