setup.sh 368 B

1234567891011
  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 "Done with setup!"