Switch from Star to a minimal install of Rakudo on debian:bullseye-slim #5
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
PATH
that 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
PATH
that we install to. Star'sDockerfile
is written to build with a--prefix
of/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 itsrakudo
package 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.