From 142c488866c2efbbf3ea626d23ceb62a921349b0 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Fri, 17 Jul 2026 06:35:23 +0200 Subject: [PATCH] cclaude: Add Run claude in a container with just the holes that I need. Stops the endless permission prompts. This deliberately does not have access to any secrets, so no `git push` or `ssh`. --- cclaude | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 cclaude diff --git a/cclaude b/cclaude new file mode 100755 index 0000000..12d9d50 --- /dev/null +++ b/cclaude @@ -0,0 +1,42 @@ +#!/bin/sh +# Run claude without permission prompts in a podman container +set -eu + +IMG=localhost/claude + +# build image on demand +if ! podman image inspect "$IMG" >/dev/null; then + podman build -t "$IMG" -f - /run <