dockerimg: more exacting prompt for building a dockerfile
This morning's claude moving target has forgotten how a Dockerfile
works, and it tries injecting direct shell into the file. Tell it
everything should start with RUN.
For #83
For #85
diff --git a/dockerimg/testdata/testcreatedockerfile_basic_repo_with_readme.dockerfile b/dockerimg/testdata/testcreatedockerfile_basic_repo_with_readme.dockerfile
index 195b3c9..1a3fe68 100644
--- a/dockerimg/testdata/testcreatedockerfile_basic_repo_with_readme.dockerfile
+++ b/dockerimg/testdata/testcreatedockerfile_basic_repo_with_readme.dockerfile
@@ -17,8 +17,16 @@
# Switch to lenient shell so we are more likely to get past failing extra_cmds.
SHELL ["/bin/bash", "-uo", "pipefail", "-c"]
-# No special commands needed for this simple Go test project
-# The base image already provides all necessary Go tools
+RUN echo "Setting up a minimal Go test project environment"
+
+# Install any Go-specific testing tools
+RUN go install github.com/stretchr/testify@latest || true
+
+# Basic Python environment setup (optional, will continue if it fails)
+RUN pip3 install pytest pytest-cov || true
+
+# Run initial setup if needed
+RUN if [ -f "Makefile" ]; then make setup || true; fi
# Switch back to strict shell after extra_cmds.
SHELL ["/bin/bash", "-euxo", "pipefail", "-c"]