cck-docker
CommunitySecure, small Docker images for .NET 10
Authors205109
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Containerizing .NET 10 applications can produce large, insecure, and slow-to-build images when best practices are not followed; this Skill provides clear patterns to produce lean, secure, and cache-friendly containers and Compose setups for local development and CI.
Core Features & Use Cases
- Multi-stage builds to separate build and runtime stages and minimize final image size.
- Layer caching pattern: copy project files and restore before copying full source to speed incremental builds.
- Non-root runtime and security guidance to avoid running containers as root in production.
- Health checks and lightweight /health endpoints to enable orchestrator and Docker health monitoring.
- Docker Compose patterns for local development including environment-driven connection strings and service dependency health checks.
- Use case: Containerize an ASP.NET Core Web API using a solution-based restore approach, publish to /app/publish, run with the aspnet runtime as a non-root user, expose a health endpoint, and orchestrate with Compose for local dev.
Quick Start
Create a multi-stage Dockerfile for your .NET 10 Web API that restores via project-file-first, publishes to /app/publish, uses the aspnet runtime with USER app, and exposes a /health endpoint.
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: cck-docker Download link: https://github.com/s205109/AHKFlowApp/archive/main.zip#cck-docker 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.