From 48d8f256a483f98d079e118ef833595f7160865f Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 19 Sep 2021 11:00:17 +0200 Subject: [PATCH 1/4] Dockerfile: Update to last PowerShell Release (7.1.4) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 64fee14c..d06a45a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/powershell:7.0.3-ubuntu-18.04 as base +FROM mcr.microsoft.com/powershell:7.1.4-ubuntu-18.04 as base SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \ Install-Module PSScriptAnalyzer -RequiredVersion 1.19.1 -Scope AllUsers -Repository PSGallery From 9b464d54b0b2854797c9e1f55dcb9fa00d90acaf Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 19 Sep 2021 11:00:48 +0200 Subject: [PATCH 2/4] DockerFile: Update to new ubuntu (lasted) release (20.04) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d06a45a7..3fb3b83b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/powershell:7.1.4-ubuntu-18.04 as base +FROM mcr.microsoft.com/powershell:7.1.4-ubuntu-20.04 as base SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \ Install-Module PSScriptAnalyzer -RequiredVersion 1.19.1 -Scope AllUsers -Repository PSGallery From 01c8b06c73f3a0c6c3eff0a58b4ba6e5816521a7 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 19 Sep 2021 11:01:11 +0200 Subject: [PATCH 3/4] DockerFile: Update to new PSSA Release (1.20.0) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3fb3b83b..f47e6737 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM mcr.microsoft.com/powershell:7.1.4-ubuntu-20.04 as base SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \ - Install-Module PSScriptAnalyzer -RequiredVersion 1.19.1 -Scope AllUsers -Repository PSGallery + Install-Module PSScriptAnalyzer -RequiredVersion 1.20.0 -Scope AllUsers -Repository PSGallery FROM base as analyzer LABEL "com.github.actions.name" = "PSScriptAnalyzer" From 5b1155f9f9925132e12b932e48aab952157786be Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 22 Oct 2021 18:44:42 +0200 Subject: [PATCH 4/4] DockerFile: Update to PWSH 7.1.5 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f47e6737..68a6cb7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/powershell:7.1.4-ubuntu-20.04 as base +FROM mcr.microsoft.com/powershell:7.1.5-ubuntu-20.04 as base SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \ Install-Module PSScriptAnalyzer -RequiredVersion 1.20.0 -Scope AllUsers -Repository PSGallery