Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G ghcup
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Haskell
  • ghcup
  • Issues
  • #82
Closed
Open
Created Mar 31, 2019 by Herbert Valerio Riedel@hvr🕺Owner

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:

  1. docker run -it alpine:3.9 sh
  2. apk add curl xz perl build-base
  3. curl https://raw.githubusercontent.com/haskell/ghcup/master/bootstrap-haskell -sSf | sh

alpine-ghcup-8.6.3.log

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking