Rebase installation source for pwsh
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2021-06-17 10:59:06 +02:00
parent b1bcc4da42
commit 0a8000bbe7

View File

@ -11,8 +11,11 @@ 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 && \
curl -L https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb -o /tmp/packages-microsoft-prod.deb
curl \
jq && \
curl -L https://api.github.com/repos/PowerShell/PowerShell/releases/latest | \
jq -r '.assets[] | select(.name | contains("debian.10_amd64")) | .browser_download_url' | \
xargs -I {} curl -L -o /tmp/packages-microsoft-prod.deb {}
FROM ruby:slim