https://github.com/Kaggle/docker-rcran
A dockerfile to install all of CRAN
https://github.com/Kaggle/docker-rcran
Last synced: 4 months ago
JSON representation
A dockerfile to install all of CRAN
- Host: GitHub
- URL: https://github.com/Kaggle/docker-rcran
- Owner: Kaggle
- License: apache-2.0
- Created: 2015-06-12T17:47:42.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-07-22T13:02:03.000Z (9 months ago)
- Last Synced: 2024-11-28T18:37:56.996Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 964 KB
- Stars: 19
- Watchers: 43
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - Kaggle/docker-rcran - A dockerfile to install all of CRAN (Shell)
README
# 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](https://cloud.google.com/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.