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/createdockerfile.go b/dockerimg/createdockerfile.go
index a5a2c4b..d76dc0b 100644
--- a/dockerimg/createdockerfile.go
+++ b/dockerimg/createdockerfile.go
@@ -211,7 +211,7 @@
"properties": {
"extra_cmds": {
"type": "string",
- "description": "Extra commands to add to the dockerfile."
+ "description": "Extra dockerfile commands to add to the dockerfile. Each command should start with RUN."
}
}
}`),