Closed alexander-yakushev closed 6 months ago
This is arguably a lein bug. It relies on the fact that the official installer script downloads the jar file to ~/.lein/self-installs/
and thus that directory already exists when using that installation method. We're not using that installer to have more control over which version we're installing and maybe some other reasons I'm forgetting (perhaps we don't need to?).
But this seems like a fine workaround for now. 👍🏻
lein repl
is currently broken in all Leiningen-based images because Leiningen can't write to/root/.lein
directory because it doesn't exist. This PR fixes that by creating the dir in advance.Current behavior:
Context: https://clojurians.slack.com/archives/C0PME9N9X/p1716875441293819