set default claude code config
This commit is contained in:
parent
56bd49640d
commit
587871859c
2 changed files with 16 additions and 4 deletions
|
|
@ -41,14 +41,15 @@ RUN mise install
|
||||||
# Install sqlx CLI for managing database migrations in sqlx projects.
|
# Install sqlx CLI for managing database migrations in sqlx projects.
|
||||||
RUN mise x -- cargo binstall -y cargo-nextest sqlx-cli
|
RUN mise x -- cargo binstall -y cargo-nextest sqlx-cli
|
||||||
|
|
||||||
# Install Claude Code CLI.
|
|
||||||
RUN curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/bootstrap.sh | bash
|
|
||||||
RUN fish -c 'fish_add_path /home/$USERNAME/.local/bin'
|
|
||||||
|
|
||||||
# Finish Go setup.
|
# Finish Go setup.
|
||||||
RUN go install golang.org/x/tools/gopls@latest
|
RUN go install golang.org/x/tools/gopls@latest
|
||||||
RUN fish -c 'fish_add_path /home/$USERNAME/go/bin'
|
RUN fish -c 'fish_add_path /home/$USERNAME/go/bin'
|
||||||
|
|
||||||
|
# Install Claude Code CLI.
|
||||||
|
RUN curl -fsSL https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/bootstrap.sh | bash
|
||||||
|
RUN fish -c 'fish_add_path /home/$USERNAME/.local/bin'
|
||||||
|
COPY --chown=$USERNAME ./assets/claude/settings.json /home/$USERNAME/.claude/settings.json
|
||||||
|
|
||||||
# Copy Helix configurations.
|
# Copy Helix configurations.
|
||||||
# It seems there's a bug in `apple/container`'s COPY implementation that fails
|
# It seems there's a bug in `apple/container`'s COPY implementation that fails
|
||||||
# to recursively copy directory contents from the host, so we point it to each
|
# to recursively copy directory contents from the host, so we point it to each
|
||||||
|
|
|
||||||
11
assets/claude/settings.json
Normal file
11
assets/claude/settings.json
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"defaultMode": "plan"
|
||||||
|
},
|
||||||
|
"enabledPlugins": {
|
||||||
|
"gopls-lsp@claude-plugins-official": true,
|
||||||
|
"rust-analyzer-lsp@claude-plugins-official": true
|
||||||
|
},
|
||||||
|
"outputStyle": "Explanatory",
|
||||||
|
"spinnerTipsEnabled": false
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue