Skip to content

Use mise for container language versions, add no-test system prompt#312

Merged
zhubert merged 1 commit intomainfrom
container-mise-setup
Mar 5, 2026
Merged

Use mise for container language versions, add no-test system prompt#312
zhubert merged 1 commit intomainfrom
container-mise-setup

Conversation

@zhubert
Copy link
Owner

@zhubert zhubert commented Mar 5, 2026

Summary

  • Replace apk-based Ruby/Python installs with mise in generated container Dockerfiles, so the exact version from .ruby-version/.python-version is respected
  • Add a container-specific system prompt telling Claude not to run tests (no DB/services/credentials) and to rely on CI
  • Remove the earlier bin/setup auto-send approach (host-side setup scripts don't belong in containers)

Test plan

  • All existing container build tests updated and passing
  • New tests for miseInstallBlock (Ruby+Python, no-mise languages, default version, empty)
  • New tests for container system prompt (set for containerized, not set for host)
  • Manual: create a containerized session for a Ruby repo, verify ruby --version matches .ruby-version
  • Manual: verify Claude does not attempt to run tests in container sessions

🤖 Generated with Claude Code

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

All changes look good. The PR successfully replaces apk-based language installs with mise, adds appropriate system prompts for containerized sessions, and includes comprehensive test coverage for the new functionality. No issues found.


Update (Mar 5, 2026 00:24 UTC, commit f05a881): Clean implementation of mise-based language version management and container system prompt. All changes are well-tested with comprehensive new test coverage. No issues found in the new code.

…ompt

Replace apk-based Ruby/Python installs with mise in generated container
Dockerfiles so the exact version from .ruby-version/.python-version is
used. Mise is installed as the claude user via su-exec for proper
permissions and legacy docker build compatibility.

Add a container-specific system prompt telling Claude not to run tests
(no DB/services/credentials available) and to rely on CI instead.

Also removes the earlier bin/setup auto-send approach that tried to run
host-side setup scripts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zhubert zhubert force-pushed the container-mise-setup branch from 0c3f897 to f05a881 Compare March 5, 2026 00:24
@zhubert zhubert enabled auto-merge (rebase) March 5, 2026 00:25
@zhubert zhubert merged commit 8530fb9 into main Mar 5, 2026
4 checks passed
@zhubert zhubert deleted the container-mise-setup branch March 5, 2026 00:25
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.

1 participant