Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.

v0.4: Fixed Nix Installation

Choose a tag to compare

@mi-skam mi-skam released this 31 Jul 13:22
· 5 commits to main since this release

VS Code DevContainer v0.4

πŸ”§ Critical Fix: Resolved Nix installation issues in Docker multi-platform builds!

πŸ› οΈ What's Fixed

  • Nix Installation Moved - Now installed during post-creation for better compatibility
  • Seccomp Issues Resolved - No more "unable to load seccomp BPF program" errors
  • Multi-platform Support - ARM64 and AMD64 builds now work correctly
  • Non-root Installation - Nix installs as the node user for proper permissions

πŸ—οΈ Technical Changes

  • Nix installation moved from Dockerfile to post-container-creation.sh
  • Smart user detection (installs as node user when run as root)
  • Proper configuration for both root and non-root contexts
  • Flakes and experimental features still enabled by default

πŸ“¦ Full Toolchain (Unchanged)

  • Node.js - JavaScript/TypeScript runtime
  • Deno v2.2.1 - Modern JS/TS runtime
  • Python with uv v0.6.2 - Fast Python package manager
  • Nix - Now installs reliably with flakes support βœ…
  • Just - Command runner for project automation
  • MongoDB - Database with mongosh and tools
  • GitHub CLI - Git workflow automation

πŸš€ Usage

The Docker registry images will now build successfully! Choose your preferred method:

Pre-built Image (fastest):

"image": "ghcr.io/phily-me/vscode-devcontainer:v0.4"

Local Build (most flexible):
Keep the default dockerComposeFile configuration.

πŸ”„ Migration

If you're using v0.3 or earlier, simply rebuild your devcontainer. Nix will install automatically during the post-creation phase.

Docker images building now! πŸŽ‰