From e3d7a88fec2f197b623da4f6a4adb6d678621fa7 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 30 Jun 2020 20:31:07 +0000 Subject: [PATCH] DockerFile: Add missing AllUsers Scope when install PSSA Fix #279 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b644e311..63fb9ac2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,7 @@ RUN mkdir -p /opt/microsoft/powershell/7 \ | xargs -n 1 wget -O - \ | tar -xzC /opt/microsoft/powershell/7 \ && ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh \ - && pwsh -c 'install-module psscriptanalyzer -force' + && pwsh -c 'install-module psscriptanalyzer -Scope AllUsers -force' ##################### # Run Pip3 Installs #