Adding wait for apt-get install

This commit is contained in:
2026-04-11 14:02:18 +02:00
parent 723565571d
commit 014ff8f8ed
+1 -1
View File
@@ -238,7 +238,7 @@ info "Starting containers..."
docker compose up -d
info "Installing gutasktool inside agent0 container..."
docker exec agent0 bash -c "apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -e /a0/usr/gutasktool --quiet"
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"
echo ""
docker compose ps