add snow container stuff

This commit is contained in:
glmdev 2019-05-02 11:29:08 -05:00
parent 20f8122558
commit 7aafde5fd1
2 changed files with 11 additions and 0 deletions

View File

@ -1 +1,5 @@
FROM glmdev/k8s-hpc-demo:latest FROM glmdev/k8s-hpc-demo:latest
COPY install_snow.R /tmp/install_snow.R
RUN R --vanilla -f /tmp/install_snow.R

7
container/install_snow.R Normal file
View File

@ -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")