Skip to content

build(devcontainer): migrate onto the shared devbase Feature - #359

Merged
KaiSchwarz-cnic merged 1 commit into
masterfrom
RSRMID-3019/devbase-migration
Aug 29, 2026
Merged

build(devcontainer): migrate onto the shared devbase Feature#359
KaiSchwarz-cnic merged 1 commit into
masterfrom
RSRMID-3019/devbase-migration

Conversation

@KaiSchwarz-cnic

@KaiSchwarz-cnic KaiSchwarz-cnic commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Part of RSRMID-3019 — the last six repositories still carrying a hand-maintained devcontainer move onto the shared devbase Feature, as php-sdk did in RSRMID-2976.

What moves out

post-create.sh cloned powerlevel10k and zsh-autosuggestions on every container create, copied in .zshrc/.p10k.zsh, and installed pnpm and commitizen by hand. All of that is devbase's job now, and the script is gone. Node LTS, the GitHub CLI and the Claude Code CLI are devbase's own dependencies, so this frame declares none of them.

What stays

The JDK moves out of the language image and into the java Feature at 21 — the LTS the devcontainers/java image supplied — with Maven. pom.xml still compiles to 17, so the runtime is deliberately ahead of the language level; say the word if the CI matrix wants a different major.

Everything else left in devcontainer.json is what a Feature cannot set: the workspace paths, the remote user, initializeCommand and the host mounts. ~/.ssh, ~/.gitconfig and ~/.claude are new alongside the /WSL_USER mount that was already there.

Note on the lock file

devcontainer-lock.json is deleted rather than edited — it pinned the node, git and java Features as the old frame declared them. The first rebuild resolves a fresh one; please commit it afterwards.

Verification

Not rebuilt yet — no Docker daemon in the workspace this was prepared from. Before merging, rebuild and check: the prompt renders, devbase-env-info reports the JDK, Maven and Node, cz --version works, git push authenticates through gh, and mvn test runs.

🤖 Generated with Claude Code

The zsh prompt configuration, commitizen setup, pnpm bootstrap, shell history
symlink and the common CLI packages now come from the devbase Feature, which
also brings Node LTS, the GitHub CLI and the Claude Code CLI as its own
dependencies. post-create.sh did all of that by hand — cloning powerlevel10k and
zsh-autosuggestions on every create — and is gone.

The JDK moves out of the language image and into the java Feature at 21, the LTS
the image supplied; pom.xml still compiles to 17, so the runtime is deliberately
ahead of the language level. Maven comes with it.

devcontainer-lock.json is deleted rather than edited: it pinned the node, git and
java Features as the frame declared them before. The first rebuild resolves a
fresh one, which should then be committed.

RSRMID-3019
@KaiSchwarz-cnic
KaiSchwarz-cnic merged commit 5b3ae47 into master Aug 29, 2026
5 checks passed
@KaiSchwarz-cnic
KaiSchwarz-cnic deleted the RSRMID-3019/devbase-migration branch August 29, 2026 14:33
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