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