From 1a7929528066d6aa8f79681c85290ca836f57f9e Mon Sep 17 00:00:00 2001 From: James Date: Mon, 25 May 2020 22:53:11 +0100 Subject: [PATCH] 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 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 113bae7..1e5a328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,13 +12,13 @@ RUN \ mkdir -p /root-layer/powershell && \ curl -o \ /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 \ /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 \ /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/