Reodering boostrap steps
This commit is contained in:
+8
-5
@@ -271,17 +271,20 @@ info "Agent0 .env written"
|
|||||||
info "Building glitch-tunnel image..."
|
info "Building glitch-tunnel image..."
|
||||||
docker compose build --quiet
|
docker compose build --quiet
|
||||||
|
|
||||||
info "Starting containers..."
|
info "Starting agent0 container..."
|
||||||
docker compose up -d
|
docker compose up -d agent0
|
||||||
|
|
||||||
info "Installing gutasktool inside agent0 container..."
|
info "Waiting for agent0 to finish initializing..."
|
||||||
info "Waiting for agent0 container to finish initializing..."
|
|
||||||
until docker exec agent0 bash -c "! pgrep -x apt-get > /dev/null && ! pgrep -x dpkg > /dev/null" 2>/dev/null; do
|
until docker exec agent0 bash -c "! pgrep -x apt-get > /dev/null && ! pgrep -x dpkg > /dev/null" 2>/dev/null; do
|
||||||
sleep 3
|
sleep 3
|
||||||
done
|
done
|
||||||
info "Container ready, installing gutasktool..."
|
|
||||||
|
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 -q -e /a0/usr/gutasktool"
|
docker exec agent0 bash -c "apt-get update -q && apt-get install -y -q python3-pip && python3 -m pip install --break-system-packages -q -e /a0/usr/gutasktool"
|
||||||
|
|
||||||
|
info "Starting tunnel..."
|
||||||
|
docker compose up -d glitch-tunnel
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
docker compose ps
|
docker compose ps
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user