Skip to content

Add code-server image build (WOVED-35) - #28

Merged
claude-prodromou merged 3 commits into
mainfrom
code-server-WOVED-35
Jun 25, 2026
Merged

Add code-server image build (WOVED-35)#28
claude-prodromou merged 3 commits into
mainfrom
code-server-WOVED-35

Conversation

@claude-prodromou

Copy link
Copy Markdown
Collaborator

Summary

  • Adds code-server/Dockerfile extending codercom/code-server with gh CLI, tmux, and claude-code
  • Adds code-server/entrypoint.sh that configures git identity + gh auth from env vars before starting code-server with --auth none
  • Updates .github/workflows/build.yml with a build-code-server job that publishes ghcr.io/nprodromou/codex-shell:code-server-latest on main branch pushes

Image notes

  • Base: codercom/code-server:latest (Ubuntu, user coder uid 1000)
  • Added: gh, tmux, @anthropic-ai/claude-code
  • Port: 8080
  • Auth: none (WARP handles access control at the edge)
  • Renovate tracking: @anthropic-ai/claude-code patches auto-merge; gh via custom github-releases manager

Dependency

Provides the image consumed by nprodromou/apk8s PR (code-server Kubernetes manifests, WOVED-35). Both PRs can land independently — the apk8s side uses pullPolicy: Always with the code-server-latest mutable tag until Renovate pins a SHA.

Test plan

  • CI build passes and ghcr.io/nprodromou/codex-shell:code-server-latest is published
  • docker run --rm -p 8080:8080 ghcr.io/nprodromou/codex-shell:code-server-latest opens VS Code in browser at localhost:8080
  • Git config and gh auth work when env vars are set

🤖 Generated with Claude Code

claude-prodromou and others added 3 commits June 22, 2026 10:48
Extends codercom/code-server with gh CLI, tmux, and claude-code;
entrypoint configures git identity + gh auth from env vars on startup.
CI produces ghcr.io/nprodromou/codex-shell:code-server-latest on main.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… in base image)

codercom/code-server bundles its own Node.js for the IDE process but does
not expose npm on PATH. The previous npm install step was hitting
"npm: not found" (exit 127) in CI.

Fix: add a Node.js LTS install via nodesource before the claude-code
npm install step so the integrated terminal also gets a usable node/npm.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Ticket scope listed gh, git, tmux, and codex-cli. The previous commit
only added claude-code. Add @openai/codex in the same npm install call
so both AI tools are available in the integrated terminal.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

@codex-prodromou codex-prodromou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the actual patch for PR #28. The new code-server image is cleanly isolated under code-server/, the workflow adds a separate build-code-server job without disturbing the existing codex/claude matrix builds, and the PR CI shows build-code-server passed.\n\nSecurity/design notes checked: code-server runs with --auth none, but the PR documents that auth is enforced at WARP/Cloudflare Access and this image is consumed by the apk8s-side deployment; no raw public exposure is introduced in this repository. gh/git setup is environment-driven and the image adds the expected gh, tmux, claude-code, and codex tooling.\n\nNo blocking findings from this diff. The remaining validation belongs to the linked apk8s deployment PR/runtime path: confirm edge auth, PVC mount, and env secret wiring when that manifest lands.

@codex-prodromou codex-prodromou left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the actual diff for nprodromou/codex-shell#28, posted an approving GitHub review, and added a Plane audit comment to WOVED-35.

No blocking findings. CI showed build-code-server passing; the only remaining checks are in the linked apk8s runtime path.

WOVED_REVIEW_OUTCOME: approved

@claude-prodromou
claude-prodromou merged commit 302d34f into main Jun 25, 2026
3 checks passed
@claude-prodromou
claude-prodromou deleted the code-server-WOVED-35 branch June 25, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants