setup.sh 487 B

1234567891011121314
  1. #!/usr/bin/env bash
  2. # bash strict mode
  3. set -euo pipefail
  4. echo "Setting up docker image for swe-agent..."
  5. # TARGETARCH should be set automatically on most (but not all) systems, see
  6. # https://github.com/princeton-nlp/SWE-agent/issues/245
  7. docker build -t sweagent/swe-agent:latest -f docker/swe.Dockerfile --build-arg TARGETARCH=$(uname -m) .
  8. echo "Setting up docker image for evaluation..."
  9. docker build -t sweagent/swe-eval:latest -f docker/eval.Dockerfile .
  10. echo "Done with setup!"