fix(build): Enable Docker BuildKit in build_images.sh

main
huangbinghe 2026-07-24 16:45:06 +08:00 committed by GitHub
parent 84f65a809f
commit 740cbc8745
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,9 @@ NC='\033[0m' # 无颜色
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PROJECT_ROOT="$( cd "$SCRIPT_DIR/.." && pwd )"
# 启用 BuildKit
export DOCKER_BUILDKIT=1
# 版本信息
VERSION="1.0.0"
SCRIPT_NAME=$(basename "$0")
@ -396,4 +399,4 @@ if [ "$BUILD_SANDBOX" = true ]; then
exit $?
fi
exit 0
exit 0