Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
spring-boot-deployment【部署与运维】Deploy Spring Boot apps with Docker, GraalVM native images, and graceful shutdown. Use when deploying Spring Boot apps as GraalVM native images, containers, or configuring shutdown.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
bootBuildImage (Gradle) or spring-boot:build-image (Maven) for OCI-compliant images.Layered JAR support to optimize Build Cache. Use multi-stage Dockerfile.non-root user. Use eclipse-temurin or Distroless as base image.See implementation examples for multi-stage layered Dockerfile and graceful shutdown configuration.
AOT transformations. Register reflection with RuntimeHints if needed.Actuator endpoints specifically for Liveness and Readiness probes.server.shutdown=graceful with 30s timeout.-XX:+UseContainerSupport and -XX:MaxRAMPercentage=75.0.stdout in Structured JSON for log aggregators.