Skip to content
Go to file
Cannot retrieve contributors at this time
20 lines (16 sloc) 739 Bytes
FROM rocker/r-base
RUN apt-get update && apt-get install -y -t unstable \
build-essential \
tcl \
libhiredis-dev \
libcurl4-gnutls-dev \
libssl-dev \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/
RUN Rscript -e "install.packages(c('redux', 'uuid', 'digest', 'caret', 'mlbench', 'googleCloudStorageR', 'httr', 'openssl','googleAuthR', 'randomForest', 'brnn', 'monomvn'), repos='')" \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
RUN Rscript -e "install.packages(c('elasticnet', 'gbm'), repos='')" \
&& rm -rf /tmp/downloaded_packages/ /tmp/*.rds
COPY ./worker.R /worker.R
COPY ./rediswq.R /rediswq.R
COPY ./functions.R /functions.R
You can’t perform that action at this time.