Adding better wait condition
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user