Files
upstream-atomic-crm/.devcontainer/claude-code/install.sh
upstream-mirror 93ecc1a6f8
Some checks failed
✅ Check / 🔬 ESLint (push) Failing after 21s
✅ Check / 🏷️ Typecheck (push) Failing after 11s
✅ Check / 🔎 Test (push) Failing after 11s
✅ Check / e2e-test (push) Failing after 11s
✅ Check / 🔨 Build (push) Failing after 11s
🚀 Deploy / 🚀 Deploy (doc) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (demo) (push) Failing after 12s
🚀 Deploy / 🚀 Deploy (supabase) (push) Failing after 18s
snapshot of https://github.com/marmelab/atomic-crm.git (main, 2026-09-18; blobs > 131072B omitted)
2026-09-18 01:48:50 +05:00

20 lines
451 B
Bash
Executable File

#!/usr/bin/env bash
set -e
CLAUDE_PATH="/home/${_CONTAINER_USER}/.claude"
CLAUDE_PLUGINS_PATH="${CLAUDE_PATH}/plugins"
mkdir -p "$CLAUDE_PLUGINS_PATH" && chown -R $_CONTAINER_USER:$_CONTAINER_USER "$CLAUDE_PATH"
su - "$_CONTAINER_USER" <<'EOL'
cd /tmp
curl -fsSL https://claude.ai/install.sh -o claude-install.sh
chmod +x claude-install.sh
./claude-install.sh
rm -f claude-install.sh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
EOL