Windows Modules for Windows Nanoimage
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- docker, powershell
- 领域
- devops, infrastructure
调研方向
未指定文件、测试或入口点。首先检查 Windows Nano 映像的构建方式,以及如何包含 PowerShell 模块及其依赖项;当请求的 Windows 模块可以在映像中导入和使用且不缺少程序集时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Summary of the new feature / enhancement
I wanted to manage certificates in a Windows nano image using Powershell, e.g. Import-Certificate
Currently these Windows modules are not included.
My attempts to add them myself were not successful.
Using the PKI module as an example, I copied the files into the nano image and tried to load the module:
Import-Module: Could not load file or assembly 'Microsoft.CertificateServices.PKIClient.Cmdlets, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
Other import methods also produce a similar error:
Failed to load assembly: Exception calling “LoadFile” with “1” argument(s): “Could not load file or assembly ‘C:\tmp\Microsoft.CertificateServices.PKIClient.Cmdlets.dll’. The specified module could not be found.”
I think it might have to do with a lack of dependencies. PKI, for example has:
Referenced Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Referenced Assembly: Microsoft.VisualC, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Referenced Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Referenced Assembly: System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Referenced Assembly: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Referenced Assembly: System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Referenced Assembly: System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
It would be great if these Windows modules were also available.
Proposed technical implementation details (optional)
No response
- 主要语言
- Dockerfile
- 星标
- 449
- 派生
- 158
- 平均合并
- 3 天 10 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PowerShell/PowerShell-Docker 的其他 Issue
-
Git 未关闭Issue-Enhancement
难度 2/5 1-3 小时 新手友好度 62/100
PowerShell/PowerShell-Docker#857 ·
-
难度 4/5 3-5 天 新手友好度 35/100
PowerShell/PowerShell-Docker#856 · 2 条评论 · 1 个 reaction ·
-
Issue-Enhancement
难度 2/5 1-3 小时 新手友好度 48/100
PowerShell/PowerShell-Docker#854 ·
-
Issue-Enhancement
难度 5/5 一周以上 新手友好度 25/100
PowerShell/PowerShell-Docker#853 · 6 条评论 · 17 个 reaction ·
-
Issue-Enhancement
难度 3/5 1-2 天 新手友好度 45/100
PowerShell/PowerShell-Docker#851 · 2 条评论 · 2 个 reaction ·
查看 PowerShell/PowerShell-Docker 的全部 Issue
相似的 Issue
-
Solved site promotion gate fails on runner PHP patch drift (expects 8.2.33, runner installs 8.2.34) 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
Automattic/blocks-engine#2161 ·
-
难度 1/5 1 小时以内 新手友好度 60/100
github/gh-aw-mcpg#13748 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
personalrobotics/tsr#128 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
Azure/azure-functions-docker#1257 ·