Skip to content

Commit

Permalink
examples/rrsa/oss-nodejs-sdk: use node:20-alpine3.19 as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Jul 8, 2024
1 parent fcfaa00 commit 31c2248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/rrsa/oss-nodejs-sdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:19-alpine3.19 as builder
FROM node:20-alpine3.19 as builder
# TARGETPLATFORM

RUN npm set registry https://registry.npmmirror.com
Expand All @@ -9,7 +9,7 @@ COPY package-lock.json ./

RUN npm install

FROM node:19-alpine3.19
FROM node:20-alpine3.19

WORKDIR /app
COPY package.json ./
Expand Down
2 changes: 1 addition & 1 deletion examples/rrsa/oss-nodejs-sdk/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ spec:
serviceAccountName: demo-sa
restartPolicy: Never
containers:
- image: registry.cn-hangzhou.aliyuncs.com/acs/ack-ram-tool:1.0.0-rrsa-example-nodejs
- image: registry.cn-hangzhou.aliyuncs.com/acs/ack-ram-tool:1.0.0-rrsa-example-oss-nodejs
imagePullPolicy: "Always"
name: test

0 comments on commit 31c2248

Please sign in to comment.