Skip to content

optimization the image building of KubeSphere/console

Calvin Yu请求将github/fork/zt1046656665/master合并到master

Created by: zt1046656665

Signed-off-by: zhoutian zhoutian@yunify.com

What type of PR is this?

What this PR does / why we need it:

we can build image easily by this PR. when to webpack to get the javascript file,its will cost much time in linux/arm64, so we just get the javascript file in linux/amd64,and then build the final images in linux/amd64or linux/arm64.

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

optimization the image building of KubeSphere/console

Does this PR introduced a user-facing change?

first we build the pre-image to get the file by webpacking
then we can build the image of linux/amd64,linux/arm64  by copy the file
finally we will rmi the pre-image and rm the file by webpacking

Additional documentation, usage docs, etc.:

合并请求报告

加载中