From 7aafde5fd171412b65fac8ed384771220dc9c143 Mon Sep 17 00:00:00 2001 From: glmdev Date: Thu, 2 May 2019 11:29:08 -0500 Subject: [PATCH] add snow container stuff --- container/Dockerfile | 4 ++++ container/install_snow.R | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 container/install_snow.R diff --git a/container/Dockerfile b/container/Dockerfile index 44c5d00..2471e53 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -1 +1,5 @@ FROM glmdev/k8s-hpc-demo:latest + +COPY install_snow.R /tmp/install_snow.R + +RUN R --vanilla -f /tmp/install_snow.R diff --git a/container/install_snow.R b/container/install_snow.R new file mode 100644 index 0000000..f99fa51 --- /dev/null +++ b/container/install_snow.R @@ -0,0 +1,7 @@ +CRAN <- "http://rweb.crmda.ku.edu/cran" +KRAN <- "http://rweb.crmda.ku.edu/kran" +BIOC <- "http://www.bioconductor.org/packages/3.3/bioc" + +options(repos = c(KRAN, CRAN, BIOC)) + +install.packages("snow")