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
fixed a few issues in R container
  • Loading branch information
jameslamb committed Nov 17, 2018
commit 4d7f02c77ee7b918ebd26a1c23734ccc117e4ed7
9 changes: 5 additions & 4 deletions r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

FROM arrow:cpp

# get the stuff
ADD r /arrow/r

# Configure
ENV CC=gcc \
CXX=g++
Expand Down Expand Up @@ -56,8 +53,12 @@ RUN apt install -y \
'testthat'), \
repos = 'http://cran.rstudio.com')"

# 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

# build, install, test R package
CMD arrow/ci/docker_build_cpp.sh && \
CMD /arrow/ci/docker_build_cpp.sh && \
cd /arrow/r && \
R CMD build . && \
R CMD INSTALL $(ls | grep arrow_*.tar.gz) && \
Expand Down