From 87cdaee547511e7ef9e650918696a6e680656906 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sun, 3 Mar 2024 16:58:05 +0800 Subject: [PATCH] update base image and go/node version --- Dockerfile | 6 +++--- go.mod | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fa6989d0..2134cc4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " RUN addgroup -S -g 1000 ezbookkeeping && adduser -S -G ezbookkeeping -u 1000 ezbookkeeping RUN apk --no-cache add tzdata diff --git a/go.mod b/go.mod index be2e9d1a..3f4d7490 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/mayswind/ezbookkeeping -go 1.20 +go 1.21 require ( github.com/boombuler/barcode v1.0.1