·dotnet-dockerfile
</>

dotnet-dockerfile

jkappers/agent-skills

为 .NET Core 和 ASP.NET Core 应用程序创建优化、安全的多阶段 Dockerfile。在以下情况下使用:(1) 为 .NET 项目创建新的 Dockerfile,(2) 容器化 .NET 应用程序,(3) 优化现有 .NET Dockerfile,(4) 为 .NET 6/7/8+ 应用程序设置 Docker,或 (5) 用户同时提及 .NET 和 Docker/容器。

24安装·0热度·@jkappers

安装

$npx skills add https://github.com/jkappers/agent-skills --skill dotnet-dockerfile

SKILL.md

Generate production-ready multi-stage Dockerfiles for .NET applications.

Breaking Change in .NET 10: Ubuntu is now the default Linux distribution for all .NET container images. Debian images are no longer provided. Tags like 10.0, 10.0-noble, and 10.0-noble-chiseled all use Ubuntu 24.04 "Noble Numbat".

| Standard ASP.NET | aspnet:10.0 | 92 MB | | Smaller footprint | aspnet:10.0-alpine | 52 MB | | Production (recommended) | aspnet:10.0-noble-chiseled | 53 MB | | Azure Linux distroless | aspnet:10.0-azurelinux3.0-distroless | 55 MB | | Self-contained | runtime-deps:10.0-noble-chiseled | 22 MB | | Native AOT | runtime-deps:10.0-noble-chiseled | 12 MB |

为 .NET Core 和 ASP.NET Core 应用程序创建优化、安全的多阶段 Dockerfile。在以下情况下使用:(1) 为 .NET 项目创建新的 Dockerfile,(2) 容器化 .NET 应用程序,(3) 优化现有 .NET Dockerfile,(4) 为 .NET 6/7/8+ 应用程序设置 Docker,或 (5) 用户同时提及 .NET 和 Docker/容器。 来源:jkappers/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/jkappers/agent-skills --skill dotnet-dockerfile
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 dotnet-dockerfile?

为 .NET Core 和 ASP.NET Core 应用程序创建优化、安全的多阶段 Dockerfile。在以下情况下使用:(1) 为 .NET 项目创建新的 Dockerfile,(2) 容器化 .NET 应用程序,(3) 优化现有 .NET Dockerfile,(4) 为 .NET 6/7/8+ 应用程序设置 Docker,或 (5) 用户同时提及 .NET 和 Docker/容器。 来源:jkappers/agent-skills。

如何安装 dotnet-dockerfile?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/jkappers/agent-skills --skill dotnet-dockerfile 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/jkappers/agent-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01