From fa824d83382027af4ebbd1e23d70cc9db8fbe9b3 Mon Sep 17 00:00:00 2001 From: Mike Pilgrem Date: Sun, 18 Dec 2022 23:28:22 +0000 Subject: [PATCH] Try stripping the parent directory from the archive --- etc/dockerfiles/arm64.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/dockerfiles/arm64.Dockerfile b/etc/dockerfiles/arm64.Dockerfile index 121a0c42a7..7546dcbff3 100644 --- a/etc/dockerfiles/arm64.Dockerfile +++ b/etc/dockerfiles/arm64.Dockerfile @@ -14,8 +14,8 @@ RUN cd /tmp && \ tar xfv /tmp/llvm.tar --strip-components 1 -C /usr && \ rm /tmp/llvm.tar -RUN curl -L https://downloads.haskell.org/ghcup/unofficial-bindists/stack/2.9.3/stack-2.9.3-linux-aarch64.tar.gz --output /tmp/stack.tar.gz && \ - tar xfv /tmp/stack.tar.gz -C /usr/local/bin && \ +RUN curl -L https://github.com/commercialhaskell/stack/releases/download/v2.9.3/stack-2.9.3-linux-aarch64.tar.gz --output /tmp/stack.tar.gz && \ + tar xfv /tmp/stack.tar.gz -C /usr/local/bin --strip-components 1 && \ rm /tmp/stack.tar.gz # RUN curl -sSL https://github.com/commercialhaskell/stack/releases/download/v2.7.1/stack-2.7.1-linux-aarch64.bin > /usr/local/bin/stack && \