File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 11FROM python:3.10.14
22
33ENV JAVA_HOME=/opt/java/openjdk
4- COPY --from=eclipse-temurin:11-jdk $JAVA_HOME $JAVA_HOME
54ENV PATH="${JAVA_HOME}/bin:${PATH}"
65
76RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
@@ -23,11 +22,6 @@ RUN apt-get update && apt-get install -y r-base
2322RUN R -e "install.packages('IRkernel')"
2423RUN R -e "IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')"
2524
26- # Java Kernel
27- RUN wget https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip && \
28- unzip ijava-1.3.0.zip && \
29- python install.py --sys-prefix
30-
3125# Javascript Kernel
3226RUN npm install -g node-gyp
3327RUN npm install -g --unsafe-perm ijavascript
@@ -58,5 +52,12 @@ COPY ipython_kernel_config.py $IPYTHON_CONFIG_PATH/profile_default/
5852RUN mkdir -p $IPYTHON_CONFIG_PATH/profile_default/startup
5953COPY startup_scripts/* $IPYTHON_CONFIG_PATH/profile_default/startup
6054
55+
56+ COPY --from=eclipse-temurin:11-jdk $JAVA_HOME $JAVA_HOME
57+ # Java Kernel
58+ RUN wget https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip && \
59+ unzip ijava-1.3.0.zip && \
60+ python install.py --sys-prefix
61+
6162# Setup entrypoint for local development
6263ENTRYPOINT $JUPYTER_CONFIG_PATH/start-up.sh
You can’t perform that action at this time.
0 commit comments