You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/05/05 15:37:41 UTC

[GitHub] [arrow-datafusion] alamb commented on pull request #266: Use multi-stage build dockerfile in datafusion-cli and reduce image size from 2.16GB to 89.9MB

alamb commented on pull request #266:
URL: https://github.com/apache/arrow-datafusion/pull/266#issuecomment-832791465


   ```
    docker build . -f  ./datafusion-cli/Dockerfile -t datafusion-cli
   ```
   
   And then tried to run the image: 
   ```
   docker run -it datafusion-cli
   ```
   
   I got an error: 
   ```
   (arrow_dev) alamb@ip-10-0-0-124:~/Software/arrow-datafusion$ docker run -it datafusion-cli
   thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:56:34
   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
   ```
   
   Perhaps we need to update the entry point to be `/usr/local/bin/datafusion-cli` ?
   


-- 
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.

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