upgrade docker builder/runner

pull/364/head
Michael Li 1 year ago
parent a542e060c3
commit b6d9522edc
No known key found for this signature in database

@ -18,7 +18,7 @@ RELEASE_DARWIN_AMD64 = $(RELEASE_ROOT)/darwin-amd64/$(PROJECT)
RELEASE_DARWIN_ARM64 = $(RELEASE_ROOT)/darwin-arm64/$(PROJECT) RELEASE_DARWIN_ARM64 = $(RELEASE_ROOT)/darwin-arm64/$(PROJECT)
RELEASE_WINDOWS_AMD64 = $(RELEASE_ROOT)/windows-amd64/$(PROJECT) RELEASE_WINDOWS_AMD64 = $(RELEASE_ROOT)/windows-amd64/$(PROJECT)
BUILD_VERSION := $(shell git describe --tags --always | cut -f1 -f2 -d "-") BUILD_VERSION := $(shell git describe --tags --always | cut -f 1 -f 2 -d "-")
BUILD_DATE := $(shell date +'%Y-%m-%d %H:%M:%S') BUILD_DATE := $(shell date +'%Y-%m-%d %H:%M:%S')
SHA_SHORT := $(shell git rev-parse --short HEAD) SHA_SHORT := $(shell git rev-parse --short HEAD)

@ -1,4 +1,4 @@
FROM golang:1.20-alpine FROM golang:1.21-alpine
RUN apk --no-cache --no-progress add --virtual \ RUN apk --no-cache --no-progress add --virtual \
build-deps \ build-deps \
build-base \ build-base \

@ -1,3 +1,3 @@
FROM alpine:3.17 FROM alpine:3.18
ENV TZ=Asia/Shanghai ENV TZ=Asia/Shanghai
RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates

@ -1,5 +1,5 @@
# build frontend # build frontend
FROM node:18-alpine as frontend FROM node:19-alpine as frontend
ARG API_HOST ARG API_HOST
ARG USE_DIST=no ARG USE_DIST=no
WORKDIR /web WORKDIR /web

Loading…
Cancel
Save