From 099a08ca3249c86ebdd8d04122fd57b9e9b864b0 Mon Sep 17 00:00:00 2001 From: "xiayu.lyt" Date: Wed, 17 Jan 2024 15:45:26 +0800 Subject: [PATCH] fix(ci): make build webui always use amd64 Signed-off-by: xiayu.lyt --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c11c6aa5..982b970e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /go/src/github.com/alibaba/kubeskoop/ ADD . /go/src/github.com/alibaba/kubeskoop/ RUN mkdir -p bin && make all -FROM docker.io/library/node:20.9.0-alpine as build-ui +FROM --platform=linux/amd64 docker.io/library/node:20.9.0-alpine as build-ui WORKDIR /webconsole ADD ./webui /webconsole RUN yarn install && yarn build