This page:
https://rakudo.org/star/source
States:
echo "export PATH=$(pwd)/bin/:$(pwd)/share/perl6/site/bin:$(pwd)/share/perl6/vendor/bin:$(pwd)/share/perl6/core/bin:\$PATH" >> ~/.bashrc
But:
$(pwd)/bin/: <= this has a TRAILING SLASH
That gives this:
which raku => /root/rakudo/bin//raku <= this has TWO SLASHES
May trip up unsuspecting users...
On a related note, when using Dockerfile one is in /bin/sh and this seems to choke on mkdir ~/rakudo && cd $_ so perhaps mkdir ~/rakudo && cd ~/rakudo would be more helpful