| 1 | #!/bin/bash |
| 2 | set -e |
| 3 | |
| 4 | # cachebuster script, this helps speed up docker builds |
| 5 | |
| 6 | # remove repo (if not local branch) |
| 7 | if [ "$1" != "local" ]; then |
| 8 | rm -rf /git/agent-zero |
| 9 | fi |
| 10 | |
| 11 | # run the original install script again |
| 12 | bash /ins/install_A0.sh "$@" |
| 13 | |
| 14 | # remove python packages cache |
| 15 | . "/ins/setup_venv.sh" "$@" |
| 16 | pip cache purge |
| 17 | uv cache prune |