From 40bbed2983b477e57db3ef1a80a2bd35b6608e46 Mon Sep 17 00:00:00 2001 From: Brett Anspach Date: Sun, 15 May 2022 21:16:45 -0500 Subject: [PATCH] INF-2341 Add step to install PowerShell --- Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd48b7c..812b244 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,14 +28,16 @@ RUN apk add --no-cache \ userspace-rcu \ zlib \ icu-libs \ - curl; \ + curl \ + RUN apk -X https://dl-cdn.alpinelinux.org/alpine/edge/main add --no-cache \ - lttng-ust; + lttng-ust + RUN wget -O powershell.tar.gz -fSL https://github.com/PowerShell/PowerShell/releases/download/v7.2.3/powershell-7.2.3-linux-alpine-x64.tar.gz; \ mkdir -p /opt/microsoft/powershell/7; \ tar zxf ./powershell.tar.gz -C /opt/microsoft/powershell/7; \ chmod +x /opt/microsoft/powershell/7/pwsh; \ - ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh; + ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh