From 1c16e7ee9640311ae9baff1006fb47cc21e1932f Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sat, 11 Mar 2023 22:43:08 +0000 Subject: [PATCH] Enhancement: Add Pester `5` in all variants --- generate/templates/Dockerfile.ps1 | 3 ++- variants/6.0.2-ubuntu-16.04-git-sops/Dockerfile | 3 ++- variants/6.0.2-ubuntu-16.04/Dockerfile | 3 ++- variants/6.1.3-alpine-3.8-git-sops/Dockerfile | 3 ++- variants/6.1.3-alpine-3.8/Dockerfile | 3 ++- variants/6.1.3-ubuntu-18.04-git-sops/Dockerfile | 3 ++- variants/6.1.3-ubuntu-18.04/Dockerfile | 3 ++- variants/6.2.4-alpine-3.8-git-sops/Dockerfile | 3 ++- variants/6.2.4-alpine-3.8/Dockerfile | 3 ++- variants/6.2.4-ubuntu-18.04-git-sops/Dockerfile | 3 ++- variants/6.2.4-ubuntu-18.04/Dockerfile | 3 ++- variants/7.0.3-alpine-3.9-git-sops/Dockerfile | 3 ++- variants/7.0.3-alpine-3.9/Dockerfile | 3 ++- variants/7.0.3-ubuntu-18.04-git-sops/Dockerfile | 3 ++- variants/7.0.3-ubuntu-18.04/Dockerfile | 3 ++- variants/7.1.5-alpine-3.13-git-sops/Dockerfile | 3 ++- variants/7.1.5-alpine-3.13/Dockerfile | 3 ++- variants/7.1.5-ubuntu-20.04-git-sops/Dockerfile | 3 ++- variants/7.1.5-ubuntu-20.04/Dockerfile | 3 ++- variants/7.2.0-alpine-3.14-git-sops/Dockerfile | 3 ++- variants/7.2.0-alpine-3.14/Dockerfile | 3 ++- variants/7.2.0-ubuntu-20.04-git-sops/Dockerfile | 3 ++- variants/7.2.0-ubuntu-20.04/Dockerfile | 3 ++- 23 files changed, 46 insertions(+), 23 deletions(-) diff --git a/generate/templates/Dockerfile.ps1 b/generate/templates/Dockerfile.ps1 index ec83b37..8db13ba 100644 --- a/generate/templates/Dockerfile.ps1 +++ b/generate/templates/Dockerfile.ps1 @@ -11,7 +11,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' "@ diff --git a/variants/6.0.2-ubuntu-16.04-git-sops/Dockerfile b/variants/6.0.2-ubuntu-16.04-git-sops/Dockerfile index 6154531..85e495b 100644 --- a/variants/6.0.2-ubuntu-16.04-git-sops/Dockerfile +++ b/variants/6.0.2-ubuntu-16.04-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN set -eux; \ apt-get update; \ diff --git a/variants/6.0.2-ubuntu-16.04/Dockerfile b/variants/6.0.2-ubuntu-16.04/Dockerfile index 23f4feb..a85023b 100644 --- a/variants/6.0.2-ubuntu-16.04/Dockerfile +++ b/variants/6.0.2-ubuntu-16.04/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/6.1.3-alpine-3.8-git-sops/Dockerfile b/variants/6.1.3-alpine-3.8-git-sops/Dockerfile index 88041c8..bb7d1e4 100644 --- a/variants/6.1.3-alpine-3.8-git-sops/Dockerfile +++ b/variants/6.1.3-alpine-3.8-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN apk add --no-cache git diff --git a/variants/6.1.3-alpine-3.8/Dockerfile b/variants/6.1.3-alpine-3.8/Dockerfile index 3331837..6f9854d 100644 --- a/variants/6.1.3-alpine-3.8/Dockerfile +++ b/variants/6.1.3-alpine-3.8/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/6.1.3-ubuntu-18.04-git-sops/Dockerfile b/variants/6.1.3-ubuntu-18.04-git-sops/Dockerfile index a2ebe6f..7781065 100644 --- a/variants/6.1.3-ubuntu-18.04-git-sops/Dockerfile +++ b/variants/6.1.3-ubuntu-18.04-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN set -eux; \ apt-get update; \ diff --git a/variants/6.1.3-ubuntu-18.04/Dockerfile b/variants/6.1.3-ubuntu-18.04/Dockerfile index 091a72b..2f42e58 100644 --- a/variants/6.1.3-ubuntu-18.04/Dockerfile +++ b/variants/6.1.3-ubuntu-18.04/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/6.2.4-alpine-3.8-git-sops/Dockerfile b/variants/6.2.4-alpine-3.8-git-sops/Dockerfile index ae48101..32cd8a3 100644 --- a/variants/6.2.4-alpine-3.8-git-sops/Dockerfile +++ b/variants/6.2.4-alpine-3.8-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN apk add --no-cache git diff --git a/variants/6.2.4-alpine-3.8/Dockerfile b/variants/6.2.4-alpine-3.8/Dockerfile index 4390e1b..72be6b1 100644 --- a/variants/6.2.4-alpine-3.8/Dockerfile +++ b/variants/6.2.4-alpine-3.8/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/6.2.4-ubuntu-18.04-git-sops/Dockerfile b/variants/6.2.4-ubuntu-18.04-git-sops/Dockerfile index 70817f1..b3c402d 100644 --- a/variants/6.2.4-ubuntu-18.04-git-sops/Dockerfile +++ b/variants/6.2.4-ubuntu-18.04-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN set -eux; \ apt-get update; \ diff --git a/variants/6.2.4-ubuntu-18.04/Dockerfile b/variants/6.2.4-ubuntu-18.04/Dockerfile index 7b83c76..d62d7a9 100644 --- a/variants/6.2.4-ubuntu-18.04/Dockerfile +++ b/variants/6.2.4-ubuntu-18.04/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/7.0.3-alpine-3.9-git-sops/Dockerfile b/variants/7.0.3-alpine-3.9-git-sops/Dockerfile index 72e52c9..c888573 100644 --- a/variants/7.0.3-alpine-3.9-git-sops/Dockerfile +++ b/variants/7.0.3-alpine-3.9-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN apk add --no-cache git diff --git a/variants/7.0.3-alpine-3.9/Dockerfile b/variants/7.0.3-alpine-3.9/Dockerfile index d213297..8b43893 100644 --- a/variants/7.0.3-alpine-3.9/Dockerfile +++ b/variants/7.0.3-alpine-3.9/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/7.0.3-ubuntu-18.04-git-sops/Dockerfile b/variants/7.0.3-ubuntu-18.04-git-sops/Dockerfile index 671f642..3195175 100644 --- a/variants/7.0.3-ubuntu-18.04-git-sops/Dockerfile +++ b/variants/7.0.3-ubuntu-18.04-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN set -eux; \ apt-get update; \ diff --git a/variants/7.0.3-ubuntu-18.04/Dockerfile b/variants/7.0.3-ubuntu-18.04/Dockerfile index e85c9f9..7c2b8a2 100644 --- a/variants/7.0.3-ubuntu-18.04/Dockerfile +++ b/variants/7.0.3-ubuntu-18.04/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/7.1.5-alpine-3.13-git-sops/Dockerfile b/variants/7.1.5-alpine-3.13-git-sops/Dockerfile index 4c267dd..5b7ca34 100644 --- a/variants/7.1.5-alpine-3.13-git-sops/Dockerfile +++ b/variants/7.1.5-alpine-3.13-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN apk add --no-cache git diff --git a/variants/7.1.5-alpine-3.13/Dockerfile b/variants/7.1.5-alpine-3.13/Dockerfile index 176d03f..5eb7acd 100644 --- a/variants/7.1.5-alpine-3.13/Dockerfile +++ b/variants/7.1.5-alpine-3.13/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/7.1.5-ubuntu-20.04-git-sops/Dockerfile b/variants/7.1.5-ubuntu-20.04-git-sops/Dockerfile index 611c846..9b53bf4 100644 --- a/variants/7.1.5-ubuntu-20.04-git-sops/Dockerfile +++ b/variants/7.1.5-ubuntu-20.04-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN set -eux; \ apt-get update; \ diff --git a/variants/7.1.5-ubuntu-20.04/Dockerfile b/variants/7.1.5-ubuntu-20.04/Dockerfile index 67c3fa4..0c5a100 100644 --- a/variants/7.1.5-ubuntu-20.04/Dockerfile +++ b/variants/7.1.5-ubuntu-20.04/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/7.2.0-alpine-3.14-git-sops/Dockerfile b/variants/7.2.0-alpine-3.14-git-sops/Dockerfile index c44b759..07743a1 100644 --- a/variants/7.2.0-alpine-3.14-git-sops/Dockerfile +++ b/variants/7.2.0-alpine-3.14-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN apk add --no-cache git diff --git a/variants/7.2.0-alpine-3.14/Dockerfile b/variants/7.2.0-alpine-3.14/Dockerfile index a4e8bf7..c7fd6cb 100644 --- a/variants/7.2.0-alpine-3.14/Dockerfile +++ b/variants/7.2.0-alpine-3.14/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' diff --git a/variants/7.2.0-ubuntu-20.04-git-sops/Dockerfile b/variants/7.2.0-ubuntu-20.04-git-sops/Dockerfile index 4aea95c..79f7ba2 100644 --- a/variants/7.2.0-ubuntu-20.04-git-sops/Dockerfile +++ b/variants/7.2.0-ubuntu-20.04-git-sops/Dockerfile @@ -10,7 +10,8 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' RUN set -eux; \ apt-get update; \ diff --git a/variants/7.2.0-ubuntu-20.04/Dockerfile b/variants/7.2.0-ubuntu-20.04/Dockerfile index a089d77..7a2543d 100644 --- a/variants/7.2.0-ubuntu-20.04/Dockerfile +++ b/variants/7.2.0-ubuntu-20.04/Dockerfile @@ -10,5 +10,6 @@ ENV DOTNET_TELEMETRY_OPTOUT=1 ENV COMPlus_EnableDiagnostics=0 # Install Pester -RUN pwsh -c 'Install-Module Pester -Force -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -ErrorAction Stop' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' +RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose'