Skip to content

rrezartprebreza/spring-boot-skills / skills/spring-boot-3/container-native-deployment

container-native-deployment

Verified

Use when packaging a Spring Boot 3 application as an OCI image or GraalVM native executable. Covers buildpacks, layered images, JVM containers, AOT hints, probes, security, and verification.

FileKindSize
SKILL.mdskill md3.9 KB
agents/openai.yamlconfig221 B
examples/bad-dockerfileother154 B
examples/good-dockerfileother619 B

examples/good-dockerfile

View on GitHub
FROM eclipse-temurin:21-jre AS builder
WORKDIR /builder
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} application.jar
RUN java -Djarmode=tools -jar application.jar extract --layers --destination extracted

FROM eclipse-temurin:21-jre
WORKDIR /application
COPY --from=builder --chown=1001:1001 /builder/extracted/dependencies/ ./
COPY --from=builder --chown=1001:1001 /builder/extracted/spring-boot-loader/ ./
COPY --from=builder --chown=1001:1001 /builder/extracted/snapshot-dependencies/ ./
COPY --from=builder --chown=1001:1001 /builder/extracted/application/ ./
USER 1001
ENTRYPOINT ["java", "-jar", "application.jar"]
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall