Product: PowerShell Universal
Version: 1.5.13 (Ubuntu Docker)
I’m seeing an issue when trying to add another module path to PSModule by, either by the GUI or with the New-PSUEnvironment cmdlet
New-PSUEnvironment -Name “Posh7” -Path “/usr/bin/pwsh” -PSModulePath @(‘/home/.PowerShellUniversal/Repository/Modules’)
Looks like PSU is appending $env:PSModulePath with a ; instead of a : which isn’t valid for Linux.
This really wouldn’t be a problem for me, but for some reason PSU isn’t respecting the actual PSModulePath environmental variable from the Docker container that I set in the docker file.
ENV PSModulePath=/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/home/.PowerShellUniversal/Repository/Modules
Kinda two separate issues, but when one way didn’t work tried to find another way…