optimization the image building of kubesphere/console
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 the image easily by the PR
Which issue(s) this PR fixes:
Fixes # optimization the image building of kubesphere/console
Special notes for reviewers:
Does this PR introduced a user-facing change?
first we build a pre-image to get the file by webpack
then we can build the final-image to linux/amd64,linux/arm64 easily by copying the file
finally we can rm the pre-image and the file
Additional documentation, usage docs, etc.: