
Description
Container-publish is an agent skill for packaging .NET 10 apps as container images without writing a Dockerfile. It relies on the SDK's built-in container publishing, where dotnet publish /t:PublishContainer produces an OCI-compliant image directly, and a minimal publish needs no project file changes at all. The agent learns to keep all container settings as MSBuild properties in the .csproj so they are versioned with the project, to use noble-chiseled base images in production, which have no shell or package manager and far fewer Linux components, and to keep the default non-root app user rather than switching to root. Multi-architecture builds are also covered. It is part of dotnet-claude-kit and installs with: npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill container-publish…
Highlights
- Container images via dotnet publish /t:PublishContainer
- Container settings as MSBuild properties in .csproj
- Chiseled base images for production
- Non-root containers and multi-arch builds
Ratings & Reviews
No ratings yet
Be the first to rate container-publish.
People also visit
container-publish FAQ
Do I need a Dockerfile?
No. The skill uses the .NET 10 SDK, which builds OCI-compliant images directly from dotnet publish /t:PublishContainer.
Why chiseled images?
The skill recommends noble-chiseled base images for production because they have no shell or package manager and only about 7 Linux components, giving a smaller attack surface.
Where do container settings live?
In the .csproj as MSBuild properties, versioned with the project, so there are no separate files to drift.
How do I install it?
Run: npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill container-publish
What were the security audit results?
On skills.sh: Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best container-publish alternatives?
Popular alternatives to container-publish include docker, containerize-aspnet-framework and containerize-aspnetcore. See all container-publish alternatives













