[3172cb]: / Dockerfile

Download this file

20 lines (14 with data), 500 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# Fetch base image for R version 4.4.1
FROM rocker/rstudio:4.4.1
# Copy repository into the container image
COPY --chown=rstudio:rstudio . /opt/pkg
# Install Java
RUN apt-get update && \
apt-get install -y --no-install-recommends \
openjdk-21-jdk
# Let R automatically find Java files
RUN R CMD javareconf
# Install devtools
RUN Rscript -e 'install.packages("devtools")'
# Install IntegratedLearner
RUN R -e 'devtools::install(pkg = "/opt/pkg", dependencies = TRUE, upgrade = "always")'