From c839c0b828957c8a754d9653ec7dc526672248f3 Mon Sep 17 00:00:00 2001 From: Brett Logan Date: Fri, 2 Dec 2022 02:37:36 -0500 Subject: [PATCH] Set pwsh to be executable --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 05bae08f..b25de721 100644 --- a/Dockerfile +++ b/Dockerfile @@ -507,6 +507,7 @@ RUN mkdir -p ${PWSH_DIRECTORY} \ | cut -d '"' -f 4 \ | xargs -n 1 wget -q -O - \ | tar -xzC ${PWSH_DIRECTORY} \ + && chmod +x ${PWSH_DIRECTORY}/pwsh \ && ln -sf ${PWSH_DIRECTORY}/pwsh /usr/bin/pwsh \ && pwsh -c 'Install-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Scope AllUsers -Force'