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 1
1
FROM python:3.10.14
2
2
3
3
ENV JAVA_HOME=/opt/java/openjdk
4
- COPY --from=eclipse-temurin:11-jdk $JAVA_HOME $JAVA_HOME
5
4
ENV PATH="${JAVA_HOME}/bin:${PATH}"
6
5
7
6
RUN 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
23
22
RUN R -e "install.packages('IRkernel')"
24
23
RUN R -e "IRkernel::installspec(user = FALSE, name = 'r', displayname = 'R')"
25
24
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
-
31
25
# Javascript Kernel
32
26
RUN npm install -g node-gyp
33
27
RUN npm install -g --unsafe-perm ijavascript
@@ -58,5 +52,12 @@ COPY ipython_kernel_config.py $IPYTHON_CONFIG_PATH/profile_default/
58
52
RUN mkdir -p $IPYTHON_CONFIG_PATH/profile_default/startup
59
53
COPY startup_scripts/* $IPYTHON_CONFIG_PATH/profile_default/startup
60
54
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
+
61
62
# Setup entrypoint for local development
62
63
ENTRYPOINT $JUPYTER_CONFIG_PATH/start-up.sh
You can’t perform that action at this time.
0 commit comments