Add Module to Docker Container

Product: PowerShell Universal
Version: 1.4.6

I am loving this product! However, I am having a heck of a time getting a module either on my computer locally or in a AzDo repository added. It has my team at a bit of a standstill. Is there an easy way to get a module (not in the PSGallery) installed in a Docker Container?

Thank you
Kevin

Glad you like it!

If you have your repository sync’d to AzDo, you can add the module to a Modules directory: Modules - PowerShell Universal

It should then be available.

If you have your module in a local repository, you can use the Initialize.ps1 file to install the module as PSU is starting up.

I guess the other option is to update your dockerfile to copy the module into the container.