Initial commit: Claude Dev Container with Java multi-version, Docker CLI, and web terminal

This commit is contained in:
openclaw
2026-02-24 16:58:17 +00:00
commit a84835cd7e
10 changed files with 732 additions and 0 deletions

54
setup-credentials.sh Normal file
View File

@@ -0,0 +1,54 @@
#!/bin/bash
echo "🔐 Claude Credentials Setup"
echo "============================"
echo ""
# Check if running on Mac
if [[ "$OSTYPE" == "darwin"* ]]; then
echo "✅ Running on Mac"
# Check if ~/.claude exists
if [ -d "$HOME/.claude" ]; then
echo "✅ Found Claude credentials at ~/.claude"
# Create target directory
mkdir -p ./claude-credentials
# Copy credentials
echo ""
echo "Copying credentials..."
cp -r "$HOME/.claude/"* ./claude-credentials/ 2>/dev/null
if [ $? -eq 0 ]; then
echo "✅ Credentials copied to ./claude-credentials/"
echo ""
echo "Next steps:"
echo "1. If deploying to Synology, upload this folder"
echo "2. Or build and run locally: make build && make up"
else
echo "❌ Failed to copy credentials"
exit 1
fi
else
echo "❌ No Claude credentials found at ~/.claude"
echo ""
echo "Please login to Claude Code first:"
echo " 1. Install Claude Code CLI: npm install -g @anthropic-ai/claude-code"
echo " 2. Run: claude"
echo " 3. Complete the login flow"
echo " 4. Run this script again"
exit 1
fi
else
echo " Not running on Mac"
echo ""
echo "To copy credentials from your Mac:"
echo ""
echo " scp -r ~/.claude/ user@this-machine:$(pwd)/claude-credentials"
echo ""
echo "Or manually copy the ~/.claude folder from your Mac"
fi
echo ""
echo "============================"