mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 01:46:10 -04:00
Fix Tarball naming
Powershell Tarballs dont use underscores in their file names, unlike the distro packages which do. For example: Linux x64 TAR: https://github.com/PowerShell/PowerShell/releases/download/v7.0.1/powershell-7.0.1-linux-x64.tar.gz Debian 10 DEB: https://github.com/PowerShell/PowerShell/releases/download/v7.0.1/powershell_7.0.1-1.debian.10_amd64.deb
This commit is contained in:
+3
-3
@@ -12,13 +12,13 @@ RUN \
|
|||||||
mkdir -p /root-layer/powershell && \
|
mkdir -p /root-layer/powershell && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/root-layer/powershell/powershell_x86_64.tar.gz -L \
|
/root-layer/powershell/powershell_x86_64.tar.gz -L \
|
||||||
"https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/powershell_${PS_VERSION}-linux-x64.tar.gz" && \
|
"https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/powershell-${PS_VERSION}-linux-x64.tar.gz" && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/root-layer/powershell/powershell_armv7l.tar.gz -L \
|
/root-layer/powershell/powershell_armv7l.tar.gz -L \
|
||||||
"https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/powershell_${PS_VERSION}-linux-arm32.tar.gz" && \
|
"https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/powershell-${PS_VERSION}-linux-arm32.tar.gz" && \
|
||||||
curl -o \
|
curl -o \
|
||||||
/root-layer/powershell/powershell_aarch64.tar.gz -L \
|
/root-layer/powershell/powershell_aarch64.tar.gz -L \
|
||||||
"https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/powershell_${PS_VERSION}-linux-arm64.tar.gz"
|
"https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/powershell-${PS_VERSION}-linux-arm64.tar.gz"
|
||||||
|
|
||||||
COPY root/ /root-layer/
|
COPY root/ /root-layer/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user