Closed ispyhumanfly closed 1 year ago
Hmmm
All my work is done with the Dockerfile in this repo, which in turn builds on this https://github.com/p6steve/raku-Dockerfiles/blob/main/rusty-ma/Dockerfile
FROM p6steve/rakudo:basic
LABEL maintainer="p6steve <p6steve@furnival.net>"
LABEL tag="p6steve/rakudo:rusty"
ENV PATH=$PATH:~/.cargo/bin
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
When I run the above lines manually on p6steve/rakudo:basic, then it builds polars-core v0.22.7 successfully.
You may want to look into that rustup line...?
Next the Dockerfile in this repo runs:
FROM p6steve/rakudo:rusty
ENV PATH="${PATH}:/root/.cargo/bin"
RUN zef install https://github.com/p6steve/raku-Dan-Polars.git --verbose
Finally, the Build.pm runs 'cargo build' according to the '/dan/Cargo.toml'. So you could try removing items (polars?) from the Cargo.toml and then getting them up line by line.
Other than that perhaps a rust tagged question on the rust/polars SO channel or Discord...? since it seems that polars is the culprit!
Hey, @p6steve thank you for this detailed rundown. I'll take some time and see if I can get a bit further with the guidance you suggested.
I'm experimenting with Dan::Polars, but can't get it to build on my ubuntu:kinetic Docker container. Any ideas?