This is an automated email from the ASF dual-hosted git repository. mgubaidullin pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit 1bd3c6448f41059807a8776a40179e6ab099d897 Author: Marat Gubaidullin <[email protected]> AuthorDate: Fri Sep 18 09:42:32 2026 -0400 claude support --- claude_webapp.sh => claude_app.sh | 4 ++-- claude_build.sh | 7 +++++++ claude_vscode.sh | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/claude_webapp.sh b/claude_app.sh similarity index 82% rename from claude_webapp.sh rename to claude_app.sh index d0708e13..1370fcaf 100755 --- a/claude_webapp.sh +++ b/claude_app.sh @@ -1,13 +1,13 @@ #!/bin/bash docker run -it --rm --network=karavan \ - --name claude-sandbox \ + --name karavan-claude-sandbox-app \ -v "$(pwd)/docs:/app/docs" \ -v "$(pwd)/karavan-app:/app/karavan-app" \ -v "$(pwd)/karavan-generator:/app/karavan-generator" \ -v "$(pwd)/.git:/app/.git:ro" \ -v claude-config:/home/default \ -e ANTHROPIC_API_KEY \ - claude-sandbox \ + karavan-claude-sandbox \ --dangerously-skip-permissions \ "Read /app/karavan-app/.task.md. Execute the tasks described within, make the necessary code changes, and generate a concise summary report saved to /app/karavan-app/.task_report.md. Exit the process when you are completely finished." \ No newline at end of file diff --git a/claude_build.sh b/claude_build.sh new file mode 100755 index 00000000..68693049 --- /dev/null +++ b/claude_build.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +# 1. Resolve the script's directory so it works no matter where you call it from +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)" + +docker buildx build --load --no-cache --progress=plain --builder=multi-platform-builder -f Dockerfile.claude --platform linux/arm64 -t karavan-claude-sandbox:latst . \ No newline at end of file diff --git a/claude_vscode.sh b/claude_vscode.sh index 5f933568..80695070 100755 --- a/claude_vscode.sh +++ b/claude_vscode.sh @@ -1,13 +1,13 @@ #!/bin/bash docker run -it --rm \ - --name claude-sandbox \ + --name karavan-claude-sandbox-vscode \ -v "$(pwd)/docs:/app/docs" \ -v "$(pwd)/karavan-vscode:/app/karavan-vscode" \ -v "$(pwd)/.github/workflow/vscode.yml:/app/.github/workflow/vscode.yml" \ -v "$(pwd)/.git:/app/.git:ro" \ -v claude-config:/home/default \ -e ANTHROPIC_API_KEY \ - claude-sandbox \ + karavan-claude-sandbox \ --dangerously-skip-permissions \ "Read /app/karavan-vscode/.task.md. Execute the tasks described within, make the necessary code changes, and generate a concise summary report saved to /app/karavan-vscode/.task_report.md. Exit the process when you are completely finished." \ No newline at end of file
