File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 11FROM python:3.12
22
33RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
4- build-essential curl git util-linux jq sudo fonts-noto-cjk
4+ build-essential curl git util-linux jq sudo fonts-noto-cjk r-base
55
66# Install Node.js 20.x from NodeSource
77RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
@@ -13,17 +13,13 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
1313 JUPYTER_CONFIG_PATH="/root/.jupyter" \
1414 IPYTHON_CONFIG_PATH="/root/.ipython" \
1515 SERVER_PATH="/root/.server" \
16- R_VERSION=4.4.2
17-
18- ENV R_HOME=/opt/R/${R_VERSION} \
19- JAVA_HOME=/opt/java/openjdk
16+ JAVA_HOME=/opt/java/openjdk
2017
2118# Install Jupyter
2219COPY ./requirements.txt requirements.txt
2320RUN pip install --no-cache-dir -r requirements.txt && ipython kernel install --name "python3" --user
2421
2522# R Kernel
26- RUN curl -O https://cdn.rstudio.com/r/debian-12/pkgs/r-${R_VERSION}_1_amd64.deb && sudo apt-get update && sudo apt-get install -y ./r-${R_VERSION}_1_amd64.deb && ln -s ${R_HOME}/bin/R /usr/bin/R
2723RUN R -e "install.packages('IRkernel', repos='https://cloud.r-project.org')"
2824RUN R -e "IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')"
2925
You can’t perform that action at this time.
0 commit comments