Skip to content

Commit 940bdb2

Browse files
Dockerfile: fix MCP config path, skills repo name, cache-bust arg
- Point both claude-code and codex at the real altinity-mcp config mount /etc/altinity-mcp/config.yaml (was stale /opt/expert-mcp/*, and the two agents disagreed); matches the skills-agent Helm secret. - Fix skills source path Altinity/Skills -> Altinity/altinity-skills (repo was renamed). - Reference TOOLCHAIN_REFRESH in the install RUN so changing it actually busts the toolchain layer cache (CI passes github.run_id). - Drop redundant chmod 755 on /etc/claude-code. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 68ffd52 commit 940bdb2

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ ENV HOME=/home/bun
1919
ENV BUN_INSTALL=/opt/bun
2020
ENV PATH="/opt/bun/bin:${PATH}"
2121

22-
RUN bun install -g @openai/codex@${CODEX_VERSION} \
22+
RUN echo "toolchain-refresh=${TOOLCHAIN_REFRESH}" \
23+
&& bun install -g @openai/codex@${CODEX_VERSION} \
2324
&& bun install -g @anthropic-ai/claude-code@${CLAUDE_CODE_VERSION} \
24-
&& bunx skills add --global --agent claude-code codex --yes Altinity/Skills/altinity-expert-clickhouse/ \
25-
&& bunx skills add --global --agent claude-code codex --yes Altinity/Skills/altinity-profiler-clickhouse/ \
25+
&& bunx skills add --global --agent claude-code codex --yes Altinity/altinity-skills/altinity-expert-clickhouse/ \
26+
&& bunx skills add --global --agent claude-code codex --yes Altinity/altinity-skills/altinity-profiler-clickhouse/ \
2627
&& codex --version \
2728
&& claude --version \
2829
&& chown -R bun:bun /home/bun /opt/bun
@@ -35,11 +36,10 @@ RUN mkdir -p /etc/claude-code \
3536
' "mcpServers": {' \
3637
' "clickhouse": {' \
3738
' "command": "/bin/altinity-mcp",' \
38-
' "args": ["--config", "/opt/expert-mcp/mcp-config.json", "--read-only", "1"]' \
39+
' "args": ["--config", "/etc/altinity-mcp/config.yaml", "--read-only", "1"]' \
3940
' }' \
4041
' }' \
4142
'}' > /etc/claude-code/managed-mcp.json \
42-
&& chmod 755 /etc/claude-code \
4343
&& chmod 644 /etc/claude-code/managed-mcp.json
4444

4545
USER bun
@@ -52,5 +52,5 @@ web_search = "live"
5252

5353
[mcp_servers.clickhouse]
5454
command = "/bin/altinity-mcp"
55-
args = ["--config","/opt/expert-mcp/config.yaml","--read-only", "1"]
55+
args = ["--config","/etc/altinity-mcp/config.yaml","--read-only", "1"]
5656
EOF

0 commit comments

Comments
 (0)