From 33237fef5b41d83e2747ca3c55ba2d42e48eaa65 Mon Sep 17 00:00:00 2001 From: jenstandstad Date: Sat, 11 Apr 2026 16:24:03 +0200 Subject: [PATCH] Adding better wait condition --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index ac72bfc..4cede9a 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -275,7 +275,7 @@ info "Starting containers..." docker compose up -d 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 "" docker compose ps