Unable to install GHC 8.6.3 in Alpine 3.9
Created by: naushadh
Tried to run ghcup
in an Alpine 3.9 docker container and it failed with ghc-cabal: not found
To Reproduce
Steps to reproduce the behavior:
docker run -it alpine:3.9 sh
apk add curl xz perl build-base
curl https://raw.githubusercontent.com/haskell/ghcup/master/bootstrap-haskell -sSf | sh
System information
$ /root/.ghcup/bin/ghcup debug-info
Script version: 0.0.7
Script variables:
GHC install location: /root/.ghcup/ghc
Binary install location: /root/.ghcup/bin
Tarball cache location: /root/.ghcup/cache
Downloader: curl --fail -O <url>
Script update url: https://raw.githubusercontent.com/haskell/ghcup/master/ghcup
GHC download baseurl: https://downloads.haskell.org/~ghc
Meta download url https://raw.githubusercontent.com/haskell/ghcup/master/.download-urls
Meta download format 1
Meta version url https://raw.githubusercontent.com/haskell/ghcup/master/.available-versions
Meta version format 1
Detected system information:
Architecture: x86_64
Distribution: Alpine Linux
Distro alias: alpine
Distro version: 3.9.2