File tree Expand file tree Collapse file tree 6 files changed +10
-12
lines changed
Expand file tree Collapse file tree 6 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 11VER_APP = 2.1.0
22VER_NGX = 1.21.6-alpine
3- VER_GOLANG = 1.17.6-alpine3.15
4- VER_ALPINE = 3.15
3+ VER_GOLANG = 1.25.2-alpine
4+ VER_ALPINE = 3.20
Original file line number Diff line number Diff line change 1- FROM --platform=$BUILDPLATFORM node:20-alpine3.19 AS builder
1+ FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
22ENV LANG="en_US.UTF-8"
33ENV LANGUAGE="en_US.UTF-8"
44ENV LC_ALL="en_US.UTF-8"
@@ -8,7 +8,6 @@ ENV VER $VER_APP
88RUN curl -L "https://github.com/doocs/md/archive/refs/tags/v$VER.zip" -o "v$VER.zip" && unzip "v$VER.zip" && mv "md-$VER" /app
99WORKDIR /app
1010RUN npm install -g pnpm
11- ENV NODE_OPTIONS="--openssl-legacy-provider"
1211RUN pnpm install && pnpm web build:h5-netlify
1312
1413FROM scratch
Original file line number Diff line number Diff line change 11ARG VER_APP=2.1.0
2- ARG VER_GOLANG=1.17.6-alpine3.15
3- ARG VER_ALPINE=3.15
2+ ARG VER_GOLANG=1.25.2-alpine
3+ ARG VER_ALPINE=3.20
44
55FROM --platform=$BUILDPLATFORM "doocs/md:$VER_APP-assets" AS assets
66
Original file line number Diff line number Diff line change 11VER_APP = latest
22VER_NGX = 1.21.6-alpine
3- VER_GOLANG = 1.17.6-alpine3.15
4- VER_ALPINE = 3.15
3+ VER_GOLANG = 1.25.2-alpine
4+ VER_ALPINE = 3.20
Original file line number Diff line number Diff line change 1- FROM --platform=$BUILDPLATFORM node:20-alpine3.19 AS builder
1+ FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
22ENV LANG="en_US.UTF-8"
33ENV LANGUAGE="en_US.UTF-8"
44ENV LC_ALL="en_US.UTF-8"
55RUN apk add --no-cache curl unzip
66RUN curl -L "https://github.com/doocs/md/archive/refs/heads/main.zip" -o "main.zip" && unzip "main.zip" && mv "md-main" /app
77WORKDIR /app
88RUN npm install -g pnpm
9- ENV NODE_OPTIONS="--openssl-legacy-provider"
109RUN pnpm install && pnpm web build:h5-netlify
1110
1211FROM scratch
Original file line number Diff line number Diff line change 1- ARG VER_GOLANG=1.17.6-alpine3.15
2- ARG VER_ALPINE=3.15
1+ ARG VER_GOLANG=1.25.2-alpine
2+ ARG VER_ALPINE=3.20
33
44FROM --platform=$BUILDPLATFORM "doocs/md:latest-assets" AS assets
55
You can’t perform that action at this time.
0 commit comments