Skip to content
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

GHC 8.2+ and stackage lts-10+ support #2

Open
2 tasks
naushadh opened this issue Mar 3, 2018 · 1 comment
Open
2 tasks

GHC 8.2+ and stackage lts-10+ support #2

naushadh opened this issue Mar 3, 2018 · 1 comment

Comments

@naushadh
Copy link
Owner

naushadh commented Mar 3, 2018

Motivation

We currently use stackage resolver lts-9.21, which ships with GHC-8.0.2. GHC-8.2 has been stable for a while, and GHC-8.4 is about to land.

Besides compiler enhancements, to keep up with newer stackage resolvers/packages, we must support the latest standard stable GHC+stackage-LTS.

Issues

  • Official alpine support for GHC-8.2.1 is still pending.
  • Official stack support for alpine is still pending.
    • but I don't think this is a blocker as this repo already demonstrates stack support as long as the resolver specific compiler is already installed globally within the builder env. Which means we just need to address the above issue effectively.
@naushadh
Copy link
Owner Author

naushadh commented Mar 3, 2018

Official alpine support for GHC-8.2.1 is still pending.

One possible workaround for this is to replace the builder's base image with a Debian based OS instead of Alpine. But keep Alpine as the target image so we can still deploy an ultra light container.

Care must be taken to ensure the new builder doesn't drastically explode in size relative to the present/baseline builder.

Inspirations:

  • Comment re: multi-stage docker mixing debian's for build and alpine for runtime.
  • Issue which mentions the same debian-alpine cross compilation strategy.

naushadh added a commit that referenced this issue Mar 3, 2018
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

No branches or pull requests

1 participant