·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安裝·1熱度·@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