We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bda5b5 commit e3ac760Copy full SHA for e3ac760
.github/workflows/docker-publish.yml
@@ -43,6 +43,6 @@ jobs:
43
uses: docker/build-push-action@v2
44
with:
45
context: .
46
- platforms: linux/arm64,linux/amd64
+ platforms: linux/amd64
47
push: true
48
tags: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
Dockerfile
@@ -1,12 +1,10 @@
1
FROM selenium/standalone-chrome:123.0
2
3
-# 设置环境变量
4
-ENV NODE_VERSION=20.x
5
# 安装OpenJDK 11
6
USER root
7
RUN apt-get update && \
8
apt-get install -y openjdk-11-jdk curl ca-certificates && \
9
- curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - && \
+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
10
apt-get install -y nodejs && \
11
apt-get clean && \
12
rm -rf /var/lib/apt/lists/*
0 commit comments