Skip to content

Commit 96885c9

Browse files
committed
chore: update images
1 parent 058501d commit 96885c9

File tree

6 files changed

+10
-12
lines changed

6 files changed

+10
-12
lines changed

docker/2.1.0/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
VER_APP=2.1.0
22
VER_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

docker/2.1.0/Dockerfile.base

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM node:20-alpine3.19 AS builder
1+
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
22
ENV LANG="en_US.UTF-8"
33
ENV LANGUAGE="en_US.UTF-8"
44
ENV LC_ALL="en_US.UTF-8"
@@ -8,7 +8,6 @@ ENV VER $VER_APP
88
RUN 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
99
WORKDIR /app
1010
RUN npm install -g pnpm
11-
ENV NODE_OPTIONS="--openssl-legacy-provider"
1211
RUN pnpm install && pnpm web build:h5-netlify
1312

1413
FROM scratch

docker/2.1.0/Dockerfile.standalone

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG 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

55
FROM --platform=$BUILDPLATFORM "doocs/md:$VER_APP-assets" AS assets
66

docker/latest/.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
VER_APP=latest
22
VER_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

docker/latest/Dockerfile.base

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
FROM --platform=$BUILDPLATFORM node:20-alpine3.19 AS builder
1+
FROM --platform=$BUILDPLATFORM node:22-alpine AS builder
22
ENV LANG="en_US.UTF-8"
33
ENV LANGUAGE="en_US.UTF-8"
44
ENV LC_ALL="en_US.UTF-8"
55
RUN apk add --no-cache curl unzip
66
RUN curl -L "https://github.com/doocs/md/archive/refs/heads/main.zip" -o "main.zip" && unzip "main.zip" && mv "md-main" /app
77
WORKDIR /app
88
RUN npm install -g pnpm
9-
ENV NODE_OPTIONS="--openssl-legacy-provider"
109
RUN pnpm install && pnpm web build:h5-netlify
1110

1211
FROM scratch

docker/latest/Dockerfile.standalone

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

44
FROM --platform=$BUILDPLATFORM "doocs/md:latest-assets" AS assets
55

0 commit comments

Comments
 (0)