From 041b85772efb65245244b9a3df5483657cfd62b5 Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Tue, 3 Jan 2023 09:07:05 +0100 Subject: [PATCH] Fix powershell source url --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ff1b89f..371c5ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,11 +11,8 @@ ARG REPO_PASSWORD ADD https://${REPO_USERNAME}:${REPO_PASSWORD}@sn.itch.fyi/Repository/bin/VMware/ovftool/4.4.x/${OVFTOOL_INSTALLER} /tmp/ovftool-installer RUN apk --update add --no-cache \ - curl \ - jq && \ - curl -L https://api.github.com/repos/PowerShell/PowerShell/releases/latest | \ - jq -r '.assets[] | select(.name | startswith("powershell-lts") and contains("deb_amd64")) | .browser_download_url' | \ - xargs -I {} curl -L -o /tmp/packages-microsoft-prod.deb {} + curl && \ + curl -L https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb {} FROM debian:11-slim