Switch from Star to a minimal install of Rakudo on debian:bullseye-slim#5
Open
nwc10 wants to merge 1 commit into
Open
Switch from Star to a minimal install of Rakudo on debian:bullseye-slim#5nwc10 wants to merge 1 commit into
nwc10 wants to merge 1 commit into
Conversation
This represents several breaking changes at the same time 1) Only install Cro's minimal dependencies. Previously using Rakudo Star meant that we shipped other (useful) modules 2) We now build on bullseye-slim. Star was building on buster, and with more Debian packages installed 3) We now install to /opt/rakudo/bin (etc) The Rakudo Star docker image is build with a prefix of /usr The docker image is still built with a PATH that contains rakudo, zef and the other relevant binaries.
Author
|
To be fair, I don't know for sure whether this version avoids the OpenSSL bugs, but it does pass its own regression tests. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This represents several breaking changes at the same time
Previously using Rakudo Star meant that we shipped other (useful) modules
Star was building on buster, and with more Debian packages installed
The Rakudo Star docker image is built with a prefix of /usr
The docker image is still built with a
PATHthat contains rakudo, zef and the other relevant binaries.The Rakudo version of 2021.10 is quite a jump - Cro was using Rakudo Star from 2020.01. The latest Star is 2021.04, but @jnthn reports that it isn't really suitable as the the version of OpenSSL that it bundles has bugs that aren't easy to work around. As 2021.04 is already 6 months old, bite the bullet and move to the most recent monthly release.
Given the other breaking changes that end users will have to evaluate here, I don't think that it adds cost to change the
PATHthat we install to. Star'sDockerfileis written to build with a--prefixof/usr. Long term, I don't think that that's wise. In that, I hope we soon see end user tools written in Raku, and then Debian (and other distros) package them, at which point the OS would want to install itsrakudopackage to/usr/bin, and that would clash with one we installed, if we keep installing there. Hence as this is already a "flag day" commit, we can add more flags for little extra cost.