Skip to content

Commit

Permalink
fix: TARGETARCH not set on some OS/docker setups (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
mspronesti committed Apr 17, 2024
1 parent d7dd747 commit 799f07e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
set -euo pipefail

echo "Setting up docker image for swe-agent..."
docker build -t sweagent/swe-agent:latest -f docker/swe.Dockerfile .
# TARGETARCH should be set automatically on most (but not all) systems, see
# https://github.com/princeton-nlp/SWE-agent/issues/245
docker build -t sweagent/swe-agent:latest -f docker/swe.Dockerfile --build-arg TARGETARCH=$(uname -m) .

echo "Setting up docker image for evaluation..."
docker build -t sweagent/swe-eval:latest -f docker/eval.Dockerfile .
Expand Down

0 comments on commit 799f07e

Please sign in to comment.