Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Enh: Tiny dockerfile makes sure that swerex is installed

Kilian Lieret99564fba2845
diff --git a/docker/tiny_test.Dockerfile b/docker/tiny_test.Dockerfile
index d777f3bf..13628841 100644
--- a/docker/tiny_test.Dockerfile
+++ b/docker/tiny_test.Dockerfile
@@ -6,5 +6,10 @@ ENV TZ=Etc/UTC
WORKDIR /
RUN pip install pipx
-RUN pipx ensurepath
RUN pipx install 0fdb5604
+RUN pip install flake8
+RUN pipx ensurepath
+
+SHELL ["/bin/bash", "-c"]
+# This is where pipx installs things
+ENV PATH="$PATH:/root/.local/bin/"