Skip to content

Commit

Permalink
chore(ci): re-add extra packages into Ubuntu image (#419)
Browse files Browse the repository at this point in the history
The missing tools are causing the docs and coverage CI jobs to fail!
  • Loading branch information
paleolimbot authored Apr 9, 2024
1 parent 22eab6b commit 00aa9c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/docker/ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ ENV NANOARROW_PYTHON_VENV "/venv"
# Locale required for R CMD check
RUN locale-gen en_US.UTF-8 && update-locale en_US.UTF-8

# For R
# For R. The Ubuntu image installs a few extras for coverage + documentation
RUN mkdir ~/.R && echo "MAKEFLAGS = -j$(nproc)" > ~/.R/Makevars
RUN R -e 'install.packages("desc", repos = "https://cloud.r-project.org")' && mkdir /tmp/rdeps
RUN R -e 'install.packages(c("desc", "covr", "pkgdown"), repos = "https://cloud.r-project.org")' && mkdir /tmp/rdeps
COPY r/DESCRIPTION /tmp/rdeps
RUN R -e 'install.packages(setdiff(desc::desc("/tmp/rdeps")$get_deps()$package, "arrow"), repos = "https://cloud.r-project.org")'

Expand Down

0 comments on commit 00aa9c3

Please sign in to comment.