upgrade golang to 1.24.4, node.js to 22.16.0, alpine base image to 3.22.0

This commit is contained in:
MaysWind
2025-06-25 23:20:13 +08:00
parent 6fb7e63e88
commit a077cccc2e
+3 -3
View File
@@ -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 <i@mayswind.net>"
RUN addgroup -S -g 1000 ezbookkeeping && adduser -S -G ezbookkeeping -u 1000 ezbookkeeping
RUN apk --no-cache add tzdata