Raku / docker

Docker files for Rakudo Star
Artistic License 2.0
34 stars 22 forks source link

Warnings when running as user raku #40

Closed sthiriet closed 3 years ago

sthiriet commented 3 years ago

When using the raku user, warnings occured because the home directory of raku has not been created

docker run -it --rm --user raku rakudo-star:latest 
Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.10.
Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d.
Built on MoarVM version 2020.10.

I ran into a problem trying to set up history: Failed to create directory '/home/raku/.raku' with mode '0o777': Failed to mkdir: No such file or directory
Sorry, but history will not be saved at the end of your session
I ran into a problem while trying to set up Readline: Failed to open file /home/raku/.raku/rakudo-history: No such file or directory
Falling back to Linenoise (if present)
You may want to `zef install Readline` or `zef install Linenoise` or use rlwrap for a line editor

To exit type 'exit' or '^D'