fix(ci): run computer image tooling checks without login shell

Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-10-07 19:18:46 +00:00
parent efde47ed22
commit b7109bd6ba
No known key found for this signature in database

View File

@ -4,9 +4,9 @@ set -euo pipefail
IMAGE="${RAKAZO_COMPUTER_IMAGE:-rakazo/computer:local}"
for tool in git gh ssh curl; do
docker run --rm "$IMAGE" bash -lc "command -v $tool >/dev/null"
docker run --rm "$IMAGE" bash -c "command -v $tool >/dev/null"
done
docker run --rm "$IMAGE" bash -lc 'git --version | grep -q "^git version "'
docker run --rm "$IMAGE" bash -lc 'gh --version | grep -q "^gh version "'
docker run --rm "$IMAGE" bash -lc 'test "$(command -v git)" = "/usr/local/lib/rakazo/bin/git"'
docker run --rm "$IMAGE" bash -c 'git --version | grep -q "^git version "'
docker run --rm "$IMAGE" bash -c 'gh --version | grep -q "^gh version "'
docker run --rm "$IMAGE" bash -c 'test "$(command -v git)" = "/usr/local/lib/rakazo/bin/git"'