-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
23 lines (22 loc) · 1.33 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# vim:set ft=dockerfile:
FROM alpine:edge
LABEL maintainer="[email protected]"
LABEL io.openrisknet.tags rserve
LABEL io.openrisknet.non-scalable true
LABEL io.openshift.expose-services 6311
#LABEL io.openrisknet.min-memory 2Gi
#LABEL io.openrisknet.min-cpu 4
#RUN apk add --update musl-utils build-base R R-dev cairo-dev grep
#RUN R -e 'install.packages("caret", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("pls", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("randomForest", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("gridExtra", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("doMC", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("Rserve", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("stringi", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("iterators", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("foreach", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
#RUN R -e 'install.packages("ggplot2", repos="https://stat.ethz.ch/CRAN/",dependencies=TRUE)'
EXPOSE 6311
#ENTRYPOINT R -e "Rserve::run.Rserve(remote=TRUE)"
#CMD ["R", "CMD", "Rserve"]