diff --git a/templates/Dockerfile b/templates/Dockerfile index 645c938a5b3a322090e401bf23391c6a3c88e168..b2ee8fa99d5fba9d6b1d2a46b72953ceeaf333bc 100644 --- a/templates/Dockerfile +++ b/templates/Dockerfile @@ -23,6 +23,13 @@ RUN \ gpg \ curl +# Manually install powershell +RUN curl -L -O https://github.com/PowerShell/PowerShell/releases/download/v7.5.2/powershell_7.5.2-1.deb_amd64.deb +RUN dpkg -i --force-depends powershell_7.5.2-1.deb_amd64.deb +RUN apt-get update +RUN apt-get install -fy +RUN rm powershell_7.5.2-1.deb_amd64.deb + # Create unprivileged user RUN useradd -ms /bin/bash -u 1337 ci USER ci