Update with new json2excel binary
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.20.4-alpine3.18 as build
|
FROM golang:1.22.4-alpine3.20 as build
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
@@ -15,12 +15,12 @@ ENV CGO_LDFLAGS "-static -w -s"
|
|||||||
|
|
||||||
RUN go build -tags osusergo,netgo -o /application cmd/export-xlsx-server/main.go;
|
RUN go build -tags osusergo,netgo -o /application cmd/export-xlsx-server/main.go;
|
||||||
|
|
||||||
FROM golang:1.20.4-alpine3.18 as build2
|
FROM golang:1.22.4-alpine3.20 as build2
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
ENV CGO_LDFLAGS "-static -w -s"
|
ENV CGO_LDFLAGS "-static -w -s"
|
||||||
ENV J2E_VERSION "v0.1.6"
|
ENV J2E_VERSION "v0.1.7"
|
||||||
|
|
||||||
RUN wget https://git.coadcorp.com/nathan/json2excel/archive/${J2E_VERSION}.zip && \
|
RUN wget https://git.coadcorp.com/nathan/json2excel/archive/${J2E_VERSION}.zip && \
|
||||||
unzip ${J2E_VERSION}.zip && \
|
unzip ${J2E_VERSION}.zip && \
|
||||||
|
Reference in New Issue
Block a user