update base image and go/node version

This commit is contained in:
MaysWind
2024-03-03 16:58:05 +08:00
parent a8b0ef2483
commit 87cdaee547
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
# Build backend binary file
FROM golang:1.20.8-alpine3.17 AS be-builder
FROM golang:1.21.7-alpine3.19 AS be-builder
ARG RELEASE_BUILD
ENV RELEASE_BUILD=$RELEASE_BUILD
WORKDIR /go/src/github.com/mayswind/ezbookkeeping
@@ -9,7 +9,7 @@ RUN apk add git gcc g++ libc-dev
RUN ./build.sh backend
# Build frontend files
FROM node:18.17.1-alpine3.17 AS fe-builder
FROM node:18.19.1-alpine3.19 AS fe-builder
ARG RELEASE_BUILD
ENV RELEASE_BUILD=$RELEASE_BUILD
WORKDIR /go/src/github.com/mayswind/ezbookkeeping
@@ -19,7 +19,7 @@ RUN apk add git
RUN ./build.sh frontend
# Package docker image
FROM alpine:3.17.5
FROM alpine:3.19.1
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
+1 -1
View File
@@ -1,6 +1,6 @@
module github.com/mayswind/ezbookkeeping
go 1.20
go 1.21
require (
github.com/boombuler/barcode v1.0.1