Fix powershell source url
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2023-01-03 09:07:05 +01:00
parent d1c4c1bca4
commit 041b85772e

View File

@ -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 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 \ RUN apk --update add --no-cache \
curl \ curl && \
jq && \ curl -L https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb {}
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 {}
FROM debian:11-slim FROM debian:11-slim