esxi-agent 编译方式兼容 arm64

This commit is contained in:
Zhang Dongliang
2020-10-10 14:56:14 +08:00
parent 046e4e3d6c
commit eda8be1be8
2 changed files with 4 additions and 17 deletions
+4 -1
View File
@@ -119,7 +119,7 @@ build_process_with_buildx() {
fi
case "$component" in
host | esxi-agent | torrent)
host | torrent)
buildx_and_push $img_name $DOCKER_DIR/multi-arch/Dockerfile.$component $SRC_DIR $arch
;;
*)
@@ -151,6 +151,9 @@ for component in $COMPONENTS; do
fi
echo "Start to build component: $component"
if [[ $component == baremetal-agent ]]; then
if [[ "$ARCH" == "arm64" ]]; then
continue
fi
build_process $component
continue
fi