Update Powershell source location
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
50c7536bf4
commit
3ab936b510
@ -14,7 +14,7 @@ RUN apk --update add --no-cache \
|
|||||||
curl \
|
curl \
|
||||||
jq && \
|
jq && \
|
||||||
curl -L https://api.github.com/repos/PowerShell/PowerShell/releases/latest | \
|
curl -L https://api.github.com/repos/PowerShell/PowerShell/releases/latest | \
|
||||||
jq -r '.assets[] | select(.name | contains("debian.10_amd64")) | .browser_download_url' | \
|
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 {}
|
xargs -I {} curl -L -o /tmp/packages-microsoft-prod.deb {}
|
||||||
|
|
||||||
FROM ruby:slim
|
FROM ruby:slim
|
||||||
|
Loading…
Reference in New Issue
Block a user