hardening: Devcontainer + Push-Block-Hook#8
Merged
Conversation
Stack: java-maven (Library). Template aus ~/.claude/skills/hardening/templates/java-maven/.devcontainer/. Anpassung: - name -> java-identifiers - forwardPorts -> [5005] (nur JDWP — Library hat keinen App-Port) Pre-push-Hook blockt Push aus dem Container (DEVCONTAINER=true). Plan-Ref: vault/plans/2026-05-14-devcontainer-hardening.md (Welle 1, personal-Workspace) Konzept: ~/.claude/vault/concepts/devcontainer-architektur.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.devcontainer/(java-maven template): JDK 25 Bookworm image, Maven via apt, JDWP on 5005, docker-outside-of-docker feature, named M2 cache volume.containerEnv.DEVCONTAINER=trueactivates the pre-push hook block..githooks/pre-push: blocks all pushes when running inside a devcontainer (DEVCONTAINER=true).forwardPorts: [5005]— JDWP only, no app port (pure Library, no server).zrdj Lockstep Note
This PR touches only
.devcontainer/and.githooks/. No changes topom.xml, release scripts, or JitPack workflow. Safe to merge independently of release ordering.Plan Reference
vault/plans/2026-05-14-devcontainer-hardening.md— Welle 3, personal-Workspace (java-maven Libraries).Konzept:
~/.claude/vault/concepts/devcontainer-architektur.md