Adding better wait condition

This commit is contained in:
2026-04-11 16:24:03 +02:00
parent 35d0700e54
commit 33237fef5b
+1 -1
View File
@@ -275,7 +275,7 @@ info "Starting containers..."
docker compose up -d docker compose up -d
info "Installing gutasktool inside agent0 container..." info "Installing gutasktool inside agent0 container..."
docker exec agent0 bash -c "while fuser /var/lib/apt/lists/lock /var/lib/dpkg/lock-frontend >/dev/null 2>&1; do sleep 1; done && apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -q -e /a0/usr/gutasktool" docker exec agent0 bash -c "while [ -f /var/lib/apt/lists/lock ] || [ -f /var/lib/dpkg/lock-frontend ]; do sleep 2; done && apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -q -e /a0/usr/gutasktool"
echo "" echo ""
docker compose ps docker compose ps