mod: starship config, add mcp
This commit is contained in:
parent
1e926ac018
commit
b8290938cc
3 changed files with 13 additions and 5 deletions
|
|
@ -4,7 +4,7 @@ FROM python:3.12-slim
|
|||
# Added pkg-config and libssl-dev (Essential for Rust compilation)
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git curl build-essential unzip sudo \
|
||||
ffmpeg jq zsh pkg-config libssl-dev tmux \
|
||||
ffmpeg jq zsh pkg-config libssl-dev \
|
||||
default-jdk-headless just \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
@ -12,12 +12,11 @@ RUN apt-get update && apt-get install -y \
|
|||
RUN git config --global credential.helper store
|
||||
|
||||
# 2. Install Starship & Aliases
|
||||
COPY starship.toml /root/.config/starship.toml
|
||||
RUN curl -sS https://starship.rs/install.sh | sh -s -- -y
|
||||
RUN echo 'eval "$(starship init zsh)"' >> /root/.zshrc
|
||||
|
||||
RUN echo 'alias ll="ls -al"' >> /root/.zshrc
|
||||
# Shortcuts for new tools
|
||||
RUN echo 'alias c="cargo"' >> /root/.zshrc
|
||||
RUN echo 'alias g="go"' >> /root/.zshrc
|
||||
|
||||
# 3. Install 'uv' (Python)
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||
|
|
|
|||
|
|
@ -118,5 +118,15 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"mcp": {
|
||||
"digitxml-mcp": {
|
||||
"type": "local",
|
||||
"enabled": true,
|
||||
"command": [
|
||||
"uv",
|
||||
"/workspace/mcp/digitxml-mcp/mcp_server.py"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
1
zsh.add
1
zsh.add
|
|
@ -15,7 +15,6 @@ function agent() {
|
|||
--add-host=host.docker.internal:host-gateway \
|
||||
-v "$TARGET_DIR:/workspace" \
|
||||
-v "$HOME/dev/ai/opencode.cfg:/root/.config/opencode" \
|
||||
-v "$HOME/dev/ai/docker-images/starship.toml:/root/.config/starship.toml" \
|
||||
-v opencode-cargo-cache:/root/.cargo \
|
||||
-v opencode-go-cache:/root/go \
|
||||
-v opencode-bun-cache:/root/.bun \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue