fix(build): limit docker compose parallelism

This commit is contained in:
dsx137 2026-07-01 20:03:15 +08:00
parent ce3733bf88
commit 7d7e719182

View File

@ -44,7 +44,7 @@ run_or_print() {
build_local() { build_local() {
echo -e "${CYAN}Building all services...${NO_COLOR}" echo -e "${CYAN}Building all services...${NO_COLOR}"
RELEASE="$RELEASE" docker compose -f "$COMPOSE_FILE" build RELEASE="$RELEASE" docker compose --parallel 1 -f "$COMPOSE_FILE" build
echo -e "${CYAN}Tagging compatibility images for Kubernetes...${NO_COLOR}" echo -e "${CYAN}Tagging compatibility images for Kubernetes...${NO_COLOR}"
while IFS= read -r built_image; do while IFS= read -r built_image; do