From 0e0e81d115005041ce51d4f50b317190f0b887e5 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 17 Jun 2022 09:21:17 +0200 Subject: [PATCH 1/2] DockerFile: Update to PowerShell LTS (7.2) Update to 7.2.4 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bca5bbc3..b7904aec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/powershell:7.1.5-ubuntu-20.04 as base +FROM mcr.microsoft.com/powershell:7.2.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.20.0 -Scope AllUsers -Repository PSGallery From ad158705f9ed5c789bc0fe9f99818979dd0e180c Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sat, 1 Oct 2022 10:34:02 +0200 Subject: [PATCH 2/2] Update to PowerShell 7.2.6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b7904aec..0786e24d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/powershell:7.2.4-ubuntu-20.04 as base +FROM mcr.microsoft.com/powershell:7.2.6-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