chore: tidy gitignore, Dockerfile indent, unused import
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+11
@@ -4,3 +4,14 @@ Thumbs.db
|
|||||||
# mcp-server (TypeScript)
|
# mcp-server (TypeScript)
|
||||||
mcp-server/node_modules/
|
mcp-server/node_modules/
|
||||||
mcp-server/dist/
|
mcp-server/dist/
|
||||||
|
|
||||||
|
# Python
|
||||||
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
*.egg-info/
|
||||||
|
.venv/
|
||||||
|
venv/
|
||||||
|
.pytest_cache/
|
||||||
|
.mypy_cache/
|
||||||
|
.ruff_cache/
|
||||||
|
|||||||
+3
-3
@@ -21,15 +21,15 @@ FROM node:22-slim
|
|||||||
# runs as root and rejects non-root connections, so socat sits between
|
# runs as root and rejects non-root connections, so socat sits between
|
||||||
# node and the agent socket.
|
# node and the agent socket.
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends git ca-certificates openssh-client socat \
|
&& apt-get install -y --no-install-recommends git ca-certificates openssh-client socat \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install claude-code globally. Pinned to the version verified in the v1
|
# Install claude-code globally. Pinned to the version verified in the v1
|
||||||
# build (`claude --version` returns 2.1.126). Bump deliberately when
|
# build (`claude --version` returns 2.1.126). Bump deliberately when
|
||||||
# rolling forward; an unpinned install would mean rebuilds silently pick
|
# rolling forward; an unpinned install would mean rebuilds silently pick
|
||||||
# up new behavior.
|
# up new behavior.
|
||||||
RUN npm install -g --no-fund --no-audit @anthropic-ai/claude-code@2.1.126 \
|
RUN npm install -g --no-fund --no-audit @anthropic-ai/claude-code@2.1.126 \
|
||||||
&& npm cache clean --force
|
&& npm cache clean --force
|
||||||
|
|
||||||
# Run as a non-root user. The node image already provides a `node` user
|
# Run as a non-root user. The node image already provides a `node` user
|
||||||
# (uid 1000) with a home directory, which is where claude-code will write
|
# (uid 1000) with a home directory, which is where claude-code will write
|
||||||
|
|||||||
@@ -24,7 +24,6 @@ from . import ssh as ssh_mod
|
|||||||
from .env_resolve import env_resolve
|
from .env_resolve import env_resolve
|
||||||
from .log import Die, die, info, warn
|
from .log import Die, die, info, warn
|
||||||
from .manifest import (
|
from .manifest import (
|
||||||
Manifest,
|
|
||||||
manifest_agent_bottle,
|
manifest_agent_bottle,
|
||||||
manifest_env_names,
|
manifest_env_names,
|
||||||
manifest_prompt,
|
manifest_prompt,
|
||||||
|
|||||||
Reference in New Issue
Block a user