Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARROW-3366: [R] Dockerfile for docker-compose setup #2770

Closed
wants to merge 13 commits into from
Prev Previous commit
Next Next commit
Updated LD_LIBRARY_PATH in R container
  • Loading branch information
jameslamb committed Nov 17, 2018
commit 64ea840fa94cec374c4ff217bea17a44a68032a8
6 changes: 3 additions & 3 deletions r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ RUN apt install -y \

# Tell R where it can find the source code for arrow
ENV PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/build/cpp/src/arrow
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/build/r/src
ENV LD_LIBRARY_PATH=/opt/conda/lib/:/build/cpp/src/arrow:/arrow/r/src

# build, install, test R package
CMD /arrow/ci/docker_build_cpp.sh && \
cd /arrow/r && \
R CMD build . && \
Rscript -e "Rcpp::compileAttributes('/arrow/r')" && \
R CMD build --keep-empty-dirs /arrow/r && \
R CMD INSTALL $(ls | grep arrow_*.tar.gz) && \
R CMD check $(ls | grep arrow_*.tar.gz) --as-cran
kszucs marked this conversation as resolved.
Show resolved Hide resolved