From dee96d2eb1498cc68d0bc7d6005fadef90f6a424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fan=20Can=20Bak=C4=B1r?= Date: Sat, 8 Oct 2022 13:15:46 +0300 Subject: [PATCH] fix ghcup installation --- containers/haskell/.devcontainer/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/containers/haskell/.devcontainer/Dockerfile b/containers/haskell/.devcontainer/Dockerfile index 4795660090..482b311161 100644 --- a/containers/haskell/.devcontainer/Dockerfile +++ b/containers/haskell/.devcontainer/Dockerfile @@ -31,9 +31,7 @@ RUN apt-get update \ # Install latest GHCup in the non-root user home USER $USERNAME -RUN mkdir -p "$HOME/.ghcup/bin" \ - && curl -LJ "https://downloads.haskell.org/~ghcup/x86_64-linux-ghcup" -o "$HOME/.ghcup/bin/ghcup" \ - && chmod +x "$HOME/.ghcup/bin/ghcup" +RUN curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh ENV PATH="/home/$USERNAME/.cabal/bin:/home/$USERNAME/.ghcup/bin:$PATH" # [Choice] GHC version: recommended, latest, 9.2, 9.0, 8.10, 8.8, 8.6