Skip to content

Use ghcup to install toolchain #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

hasufell
Copy link
Member

@hasufell hasufell commented Sep 22, 2021

Alternative to #44 and #46

Reasoning

  1. ghcup is more robust and portable: installation across different distros is seamless and we don't need to find the correct tarballs
  2. ghcup does gpg and sha256sum verification automatically, just like apt would
  3. ghcup's metadata is more up to date and in sync with GHC/cabal/stack releases than most distro repos
  4. keeping ghcup in the image is reasonable, since the binary size is small and it allows easier experimentation for users when shelling into the container, without complicated deriving of images
  5. some manual steps are taken to reduce image size, which is now at 1.74GB on my machine
  6. binaries are installed into /usr/bin so we don't need to mess with PATHs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants