Noah-FetchRewards opened a new issue, #1179:
URL: https://github.com/apache/datafusion-ballista/issues/1179

   I'm running the build image command for kuberentes using the documentation 
at: https://datafusion.apache.org/ballista/user-guide/deployment/kubernetes.html
   
   Using:
   `git clone g...@github.com:apache/datafusion-ballista.git -b 0.12.0
   cd datafusion-ballista
   sudo ./dev/build-ballista-docker.sh`
   
   I get the following errors 
   First error is  because the adduser command on "ballista-builder.Dockerfile" 
is setting the build uid to 
   RUN adduser -q -u $EXT_UID builder --home /home/builder && \
   
   Where EXT_USD is being set to my current user_id space (assuming for 
permission purposes), and raising the error:
   
    > [4/7] RUN adduser -q -u 0 builder --home /home/builder &&     mkdir -p 
/home/builder/workspace:
   0.245 adduser: The UID 0 is already in use.
   
   I ended up replacing that line with the following to get around, maybe this 
is because I'm on Ubuntu linux?
   RUN adduser -q builder --home /home/builder && \
   
   
   The other error seems to be due to the rust image being outdated on the 
"ballista-builder.Dockerfile"
   FROM rust:1.74.1-buster
   
   Giving me the error
   ```
   
   15.44 error: failed to compile `cargo-chef v0.1.62`, intermediate artifacts 
can be found at `/tmp/cargo-installhbfqrI`.
   15.44 To reuse those artifacts with a future compilation, set the 
environment variable `CARGO_TARGET_DIR` to that path.
   15.44 
   15.44 Caused by:
   15.44   package `cargo-platform v0.1.9` cannot be built because it requires 
rustc 1.78 or newer, while the currently active rustc version is 1.74.1
   15.44   Try re-running cargo install with `--locked`
   ------
   
    1 warning found (use docker --debug to expand):
    - NoEmptyContinuation: Empty continuation line (line 38)
   ballista-builder.Dockerfile:46
   --------------------
     45 |     # prepare rust
     46 | >>> RUN rustup update && \
     47 | >>>     rustup component add rustfmt && \
     48 | >>>     cargo install cargo-chef --version 0.1.62
     49 |     
   --------------------
   ```
   
   
   Am I dumb, or is this stuff broken.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to