Skip to content

Commit b396c73

Browse files
committed
feat: Add Stripe CLI installation and update container initialization script
1 parent 91abb30 commit b396c73

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.claude/settings.local.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(uv run python:*)"
5+
],
6+
"deny": [],
7+
"ask": []
8+
}
9+
}

.devcontainer/container-init.sh

100644100755
Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@ export NVM_DIR="/usr/local/share/nvm"
99
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
1010
nvm install node
1111
npm install -g @anthropic-ai/claude-code
12+
claude mcp add context7 -- npx -y @upstash/context7-mcp
1213

1314

14-
# install github cli
15+
# install github cli
1516
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
1617
chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
1718
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null
1819
apt update
19-
apt install gh -y
20+
apt install gh -y
21+
22+
# stripe cli
23+
curl -s https://packages.stripe.dev/api/security/keypair/stripe-cli-gpg/public | gpg --dearmor | sudo tee /usr/share/keyrings/stripe.gpg
24+
echo "deb [signed-by=/usr/share/keyrings/stripe.gpg] https://packages.stripe.dev/stripe-cli-debian-local stable main" | sudo tee -a /etc/apt/sources.list.d/stripe.list
25+
sudo apt update
26+
sudo apt install stripe -y

.devcontainer/devcontainer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@
2727
"features": {
2828
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
2929
}
30-
3130
}

0 commit comments

Comments
 (0)