From 83c83133be0656cd7d7593fff127202eb9a8892f Mon Sep 17 00:00:00 2001 From: Lior Lahav Date: Mon, 30 Jun 2025 20:02:52 +0300 Subject: [PATCH] add: powershell support --- templates/Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/Dockerfile b/templates/Dockerfile index 645c938..b2ee8fa 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 -- GitLab