This commit is contained in:
parent
d1c4c1bca4
commit
041b85772e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user