Skip to content

Commit e3ac760

Browse files
committed
删除arm
1 parent 2bda5b5 commit e3ac760

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/docker-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ jobs:
4343
uses: docker/build-push-action@v2
4444
with:
4545
context: .
46-
platforms: linux/arm64,linux/amd64
46+
platforms: linux/amd64
4747
push: true
4848
tags: ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}

Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
FROM selenium/standalone-chrome:123.0
22

3-
# 设置环境变量
4-
ENV NODE_VERSION=20.x
53
# 安装OpenJDK 11
64
USER root
75
RUN apt-get update && \
86
apt-get install -y openjdk-11-jdk curl ca-certificates && \
9-
curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - && \
7+
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
108
apt-get install -y nodejs && \
119
apt-get clean && \
1210
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)