docker-java
CommunityDesign secure, efficient Java Docker images.
Software Engineering#containerization#spring boot#security hardening#docker-java#jvm memory tuning#layered jar#dockerfile vs buildpacks
Authordprice-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Docker container decisions can cause bloated images, poor startup behavior, OOMKill failures, and insecure runtime defaults for Java and Spring Boot services.
Core Features & Use Cases
- Layered JAR container architecture: Explains how layered copy stages and Spring Boot layertools reduce rebuild time and invalidation scope.
- Multi-stage build guidance: Covers builder-vs-runtime separation so runtime images stay small and free of build tooling.
- Production-ready hardening: Recommends non-root execution, health checks, read-only filesystem considerations, and pinned base image digests.
- JVM-in-container memory tuning: Provides a safe approach using container support and MaxRAMPercentage instead of fixed -Xmx.
Quick Start
Ask the skill to recommend a Dockerfile structure for a Spring Boot 4 service that uses layered jars, runs as non-root, and sets container-aware JVM memory flags.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: docker-java Download link: https://github.com/dprice-dev/claude-java-skills/archive/main.zip#docker-java Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.