PowerShell / PowerShell/PowerShell-Docker
Windows Modules for Windows Nanoimage
まだ誰も着手していません。
- 主要言語
- Dockerfile
- スター
- 449
- フォーク
- 158
- 平均マージ
- 3日 10時間
- マージ済み PR(30日)
- 1
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。まず、Windows Nano イメージがどのようにビルドされ、PowerShell モジュールとその依存関係がどのように含まれているかを調べます。要求された Windows モジュールを、アセンブリが不足することなくイメージ内でインポートして使用できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, powershell
- 領域
- devops, infrastructure
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100