From a077cccc2e6a6a551d98d19b8a8f46357e0f7688 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Wed, 25 Jun 2025 23:20:13 +0800 Subject: [PATCH] upgrade golang to 1.24.4, node.js to 22.16.0, alpine base image to 3.22.0 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index dd1bca99..09b52e68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build backend binary file -FROM golang:1.24.2-alpine3.21 AS be-builder +FROM golang:1.24.4-alpine3.22 AS be-builder ARG RELEASE_BUILD ARG SKIP_TESTS ENV RELEASE_BUILD=$RELEASE_BUILD @@ -11,7 +11,7 @@ RUN apk add git gcc g++ libc-dev RUN ./build.sh backend # Build frontend files -FROM --platform=$BUILDPLATFORM node:22.15.0-alpine3.21 AS fe-builder +FROM --platform=$BUILDPLATFORM node:22.16.0-alpine3.22 AS fe-builder ARG RELEASE_BUILD ENV RELEASE_BUILD=$RELEASE_BUILD WORKDIR /go/src/github.com/mayswind/ezbookkeeping @@ -21,7 +21,7 @@ RUN apk add git RUN ./build.sh frontend # Package docker image -FROM alpine:3.21.3 +FROM alpine:3.22.0 LABEL maintainer="MaysWind " RUN addgroup -S -g 1000 ezbookkeeping && adduser -S -G ezbookkeeping -u 1000 ezbookkeeping RUN apk --no-cache add tzdata