Skip to content

feat(base): add toolchain installs to base image for volume-mount architecture#24

Merged
shekohex merged 5 commits intomainfrom
feat/toolchain-base-image
Mar 9, 2026
Merged

feat(base): add toolchain installs to base image for volume-mount architecture#24
shekohex merged 5 commits intomainfrom
feat/toolchain-base-image

Conversation

@Tjemmmic
Copy link
Contributor

@Tjemmmic Tjemmmic commented Mar 6, 2026

Summary

Moves all toolchain installs from the now-deleted Dockerfile.layer into the shared base image (base-system.Dockerfile). This supports the new volume-mount architecture where the sidecar and shared code are bind-mounted at runtime instead of baked into 82+ layered images.

  • Add 6 versioned CLI tools to base image: OpenCode, Bun, sccache, Newt, mise, GitHub CLI
  • Add unzip, ripgrep system packages; pin node-pty@1.0.0
  • Add git credential helper for GITHUB_TOKEN-based auth
  • Create /sidecar and /shared mount points with module resolution symlinks
  • Consolidate all environment variables (XDG dirs, cache paths, tool configs)
  • Create agent home directory structure with 777 permissions (for CapDrop: ALL)
  • Add EXPOSE 8080 and agent.sidecar labels
  • Remove unused appuser (UID 1001)
  • Make CI infra matrices dynamic (auto-discovered from Dockerfile FROM lines)
  • Add daily scheduled rebuild to pick up upstream base image updates
  • Fix tangle Dockerfile npm package name (@webb-tools/tangle-substrate-types)

@Tjemmmic Tjemmmic added the DO NOT MERGE Pull Request is NOT ready to be merged label Mar 6, 2026
@Tjemmmic Tjemmmic marked this pull request as ready for review March 7, 2026 02:23
@Tjemmmic Tjemmmic removed the DO NOT MERGE Pull Request is NOT ready to be merged label Mar 7, 2026
@Tjemmmic Tjemmmic dismissed shekohex’s stale review March 9, 2026 19:29

GITHUB_TOKEN concern is unwarranted. The content of the github block is actually creating a script that is fully isolated within the created container and uses the user's config value

@Tjemmmic Tjemmmic requested a review from shekohex March 9, 2026 19:29
@shekohex shekohex merged commit ed2f92c into main Mar 9, 2026
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