-
Notifications
You must be signed in to change notification settings - Fork 37
Update from debian stretch (9) to buster (10) for ghc 8.6, 8.8 #15
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
Conversation
@psftw I'm still a bit confused about whether this is reconcilable with the conservative goals you stated in #6 (comment) which back then significantly dampened Oleg's motivation/enthusiasm back then. I've been meaning to catch you on IRC but I'm not sure when you're online. |
@hvr will get back on IRC and try to catch you soon. I've briefly played with a few combinations of Debian/GHC/STACK to see what works but haven't published my WIP branch publicly yet (based on this branch atm). We also have the logistics problem of not being able to use build targets or build args in the official images process, so we will need to wire up a Dockerfile generation process (or just maintain them by hand for now). 👋 @AlistairB thanks for the PR, any questions/opinions on the above? I'll have more feedback and a branch to look at soon. |
Hi 👋 My 2c.. I like the trend among other languages of:
https://hub.docker.com/_/ruby is a pretty good example of this style. I think it is up to the small percentage of users that have very strict requirements on tooling to have their own custom dockerfiles so they can control these versions. Or to pin the dockerfiles to the sha to avoid undesirable updates. (I'm assuming this is why you wouldn't want to update stack / cabal in older GHC versions?) I agree that existing versions retaining their OS version is reasonable. ie Anyway, happy to modify this PR as required or close it in favour another solution :) |
@AlistairB I think we agree on everything, and I've come around to the idea that we might as well just have Buster be the default for consistency. I've created a new PR which also fixes the GitHub Actions so that PRs will build and smoke test the full matrix going forward. Thanks for getting involved, and if you have time to review, much appreciated! 💟 |
Oh, I should add, there is a reason we get two keys for stack: https://docs.haskellstack.org/en/stable/SIGNING_KEY/#signing-key In effect, we are validating the relationship between the FPComplete signing key and the release key (which is admittedly a bit overkill). |
Thanks @psftw sounds good! ❤️ |
Closes #8
C5705533DA4F78D8664B5DC0575159689BEFB442
is not needed in buster.. apparently.. so I deleted it.https://downloads.haskell.org/debian/ currently only has cabal version 3.0 in buster, so I thought updating to it for 8.6 was probably worth it (and with cabal 3.0 I think latest stack should work better). Alternatively 8.6 could be left as is on stretch. For this reason I have not touched 8.2, 8.4 which currently use old versions of cabal.
This is something of breaking change if people naively pull the new version. Might be worth some kind of
8.8-buster
tag, or8.8-stretch
. This appears to be handled manually? Or is this a change I can make in my PR?