Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 969 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 969 Bytes

docker-rcran

A dockerfile to install a list of packages from CRAN.

Packages

The packages list is found in the packages and packages_user files.

The first one includes packages that should always be installed, and the second one packages used on Kaggle in the past 60 days (automatically generated).

If you want to make sure a package is always available, add it to packages and test_build.R file.

Build

To build this image, use Google Cloud Build:

gcloud builds submit --async

This build takes ~1 hour. This is why the --async option is used.

Images

The intermediate image (gcr.io/$PROJECT_ID/rcran-build:$BUILD_ID) is pushed to GCR before running the test so that a developer can pull the image in order to debug a test failure.

The final image (gcr.io/kaggle-images/rcran) is pushed at the end of the build. Make sure you have access to that project otherwise your build may fail.