Skip to content

Add Ona dev container configuration - #23

Merged
dennis-chen-vanta merged 4 commits into
mainfrom
dennis-chen-vanta/ona-devcontainer
Oct 8, 2026
Merged

dennis-chen-vanta merged 4 commits into
mainfrom
dennis-chen-vanta/ona-devcontainer

Conversation

@dennis-chen-vanta

@dennis-chen-vanta dennis-chen-vanta commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Tin: Add a .devcontainer/ so the repo can be used with Ona.

Testing

Built locally with devcontainer up (Docker Desktop, arm64) and checked from a plain shell inside the container:

  • claude --version (2.1.294) and codex --version (0.161.0)
  • node v22.23.3, pnpm 12.6.0, bun 1.3.14
  • pnpm generate, pnpm dev version, pnpm typecheck, pnpm test (21/21 passing), pnpm build
  • VANTA_VERSION=0.2.0 pnpm build:binaries built all 6 targets; vanta-linux-arm64 version printed vanta v0.2.0

Not yet tested on x86_64 or in Ona itself, may require some tweaking

🤖 Generated with Claude Code

Uses the devcontainers base image with Node 22 (matching CI) and pnpm via
corepack from package.json's packageManager field. A post-create script
installs repo dependencies (including Bun for build:binaries), Claude Code,
and Codex.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread .devcontainer/lifecycle/post-create.sh Outdated
Install Claude Code and Codex as pinned packages with pnpm, which checks
each against its registry integrity hash, instead of piping an unverified
installer script into bash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dennis-chen-vanta dennis-chen-vanta changed the title Add Ona dev container with Claude Code and Codex Add Ona dev container configuration Oct 8, 2026
dennis-chen-vanta and others added 2 commits October 8, 2026 13:20
Keeps the pinned version from being replaced in the background.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reverts DISABLE_AUTOUPDATER and unpins both tools so environments start on
current releases and Claude Code keeps itself updated. Both still install
from npm with registry integrity checks rather than curl | bash.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@efiegel efiegel left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I created a new Ona environment from this branch it worked great!
Image

@dennis-chen-vanta
dennis-chen-vanta merged commit cfc3d34 into main Oct 8, 2026
7 checks passed
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