- Transfer Claude Code hooks from internal: identity injector, email notification, auto-fix diagnostics, pre-compact recovery - Add notification sounds for tool use, stop, and alerts - Wire all hooks in .claude/settings.json - Add global system prompt (.aipass/aipass_global_prompt.md) - Add branch-local prompt placeholders for all modules - Set up CI pipeline: lint (ruff) → test matrix (3.10-3.13) → coverage - Add workflows: PyPI publish, security scanning, stale issues - Add GitHub issue templates, dependabot, editorconfig - Configure pytest norecursedirs and coverage fail-under=70 - Add *.json to gitignore — runtime JSON files constantly change - Untrack runtime JSON (registry, plans, seed bypass, module data) - Keep source JSON tracked via negation rules (json_templates, pack, spawn templates, settings, pyrightconfig) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
859 B
Docker
31 lines
859 B
Docker
FROM codercom/code-server:latest
|
|
|
|
USER root
|
|
|
|
# Install Python + Node.js (for Claude Code)
|
|
RUN apt-get update && apt-get install -y \
|
|
python3 \
|
|
python3-pip \
|
|
python3-venv \
|
|
python3-full \
|
|
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
|
|
&& apt-get install -y nodejs \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Install Claude Code globally
|
|
RUN npm install -g @anthropic-ai/claude-code
|
|
|
|
# Create venv owned by coder user (UID 1000)
|
|
RUN python3 -m venv /opt/venv \
|
|
&& chown -R 1000:1000 /opt/venv
|
|
ENV PATH="/opt/venv/bin:$PATH"
|
|
|
|
# Empty workspace — clone your own repo after boot
|
|
RUN mkdir -p /home/coder/workspace && chown 1000:1000 /home/coder/workspace
|
|
|
|
USER 1000
|
|
ENV PATH="/opt/venv/bin:$PATH"
|
|
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "--auth", "none", "/home/coder/workspace"]
|