From 45c3b97b87c07282d367ee19de03f185e9dd8a54 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 29 Apr 2025 19:48:10 +1000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 63b5e95..ea5c522 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.22.4-alpine3.20 as build +FROM golang:1.24.2-alpine3.21 as build 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; -FROM golang:1.22.4-alpine3.20 as build2 +FROM golang:1.24.2-alpine3.21 as build2 WORKDIR /src ENV CGO_LDFLAGS "-static -w -s" -ENV J2E_VERSION "v0.1.8" +ENV J2E_VERSION "v0.1.9" RUN wget https://git.coadcorp.com/nathan/json2excel/archive/${J2E_VERSION}.zip && \ unzip ${J2E_VERSION}.zip && \ @@ -29,7 +29,7 @@ RUN wget https://git.coadcorp.com/nathan/json2excel/archive/${J2E_VERSION}.zip & go mod download && \ go build -o /json2excel cmd/main/main.go -FROM ubuntu:22.04 +FROM ubuntu:24.04 RUN apt-get update && apt-get install ca-certificates -y