Skip to content

chore: migrate dev container from Dockerfile to Nix flake#67

Merged
sonesuke merged 1 commit intomainfrom
chore/migrate-devcontainer-to-nix
Apr 12, 2026
Merged

chore: migrate dev container from Dockerfile to Nix flake#67
sonesuke merged 1 commit intomainfrom
chore/migrate-devcontainer-to-nix

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

@sonesuke sonesuke commented Apr 12, 2026

Summary

  • Replace .devcontainer/ setup (Dockerfile + post-create.sh + devcontainer.json) with a Nix flake-based reproducible Docker image (flake.nix)
  • Add scripts/build.sh, scripts/up.sh, scripts/setup.sh for container lifecycle management
  • Add mise tasks (build, up, down, attach, setup) to streamline the dev workflow
  • Update .gitignore to exclude Nix build artifacts and logs
  • Update AGENTS.md to reflect new project structure and dev container workflow

Test plan

  • mise run pre-commit passes (fmt, clippy, test)
  • mise run build builds the Docker image with Nix
  • mise run up starts the container successfully
  • mise run setup configures the environment inside the container

🤖 Generated with Claude Code

Replace the .devcontainer/ setup (Dockerfile + post-create.sh) with a
Nix flake-based reproducible Docker image managed via mise tasks.
This simplifies the dev environment by using Nix for dependency
management and adds mise tasks for build/up/attach/setup/down workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonesuke sonesuke merged commit 3a44619 into main Apr 12, 2026
4 checks passed
@sonesuke sonesuke deleted the chore/migrate-devcontainer-to-nix branch April 12, 2026 03:41
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