PowerShell / PowerShell/PowerShell-Docker
Windows Modules for Windows Nanoimage
Nessuno ha ancora preso questa issue.
- Lingua principale
- Dockerfile
- Stelle
- 449
- Fork
- 158
- Merge medio
- 3g 10h
- PR unite (30g)
- 1
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Non sono indicati file, test o punti di ingresso. Inizia esaminando come vengono create le immagini Windows Nano e come vengono inclusi i moduli PowerShell e le relative dipendenze; il lavoro è completo quando i moduli Windows richiesti possono essere importati e utilizzati nell'immagine senza assembly mancanti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, powershell
- Ambito
- devops, infrastructure
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100