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

Upgrade to R 4.3.1 #68

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Dockerfile
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Package r-cran-rgtk2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'r-cran-rgtk2' has no installation candidate

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rocker/tidyverse:4.0.5
FROM rocker/tidyverse:4.3.1

RUN apt-get update && \
apt-get install -y build-essential clang imagemagick libmagick++-dev libudunits2-dev curl libgdal-dev \
Expand All @@ -16,15 +16,14 @@ ADD clean-layer.sh /tmp/clean-layer.sh

RUN apt-get update && \
apt-get install apt-transport-https && \
apt-get install -y -f r-cran-rgtk2 && \
apt-get install -y -f libv8-dev libgeos-dev libgdal-dev libproj-dev libsndfile1-dev \
libtiff5-dev fftw3 fftw3-dev libfftw3-dev libjpeg-dev libhdf4-0-alt libhdf4-alt-dev \
libhdf5-dev libx11-dev cmake libglu1-mesa-dev libgtk2.0-dev librsvg2-dev libxt-dev \
patch libgit2-dev && \
/tmp/clean-layer.sh

RUN apt-get update && apt-get install -y build-essential git ninja-build ccache libatlas-base-dev libopenblas-dev libopencv-dev python3-opencv && \
cd /usr/local/share && git clone --recursive --depth=1 --branch v1.8.x https://github.com/apache/incubator-mxnet.git mxnet && \
cd /usr/local/share && git clone --recursive --depth=1 --branch v1.9.x https://github.com/apache/incubator-mxnet.git mxnet && \
cd mxnet && cp config/linux.cmake config.cmake && rm -rf build && \
mkdir -p build && cd build && cmake .. && cmake --build . --parallel $(nproc) && \
cd .. && make -f R-package/Makefile rpkg && \
Expand All @@ -45,4 +44,4 @@ RUN Rscript /tmp/package_installs.R && \
bash -c "rm -Rf /tmp/Rtmp*"

# Used in the `rstats` Jenkins `Docker GPU Build` step to restrict the images being pruned.
LABEL kaggle-lang=r
LABEL kaggle-lang=r