repair kotlin

This commit is contained in:
ben0i0d 2024-10-18 16:56:26 +08:00
parent 5543e9496d
commit ad1343ace9
3 changed files with 20 additions and 9 deletions

View File

@ -214,6 +214,18 @@ jobs:
context: Program/julia
tags: eoelab.org:1027/${{ gitea.repository }}:julia
KOTLIN:
runs-on: runner
needs: Base
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: kotlin build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
context: Program/kotlin
tags: eoelab.org:1027/${{ gitea.repository }}:kotlin
LUA:
runs-on: runner
needs: Base
@ -349,7 +361,7 @@ jobs:
Push:
runs-on: runner
needs: [FORTRAN] # MATLAB_MCM, MAPLE, MMA
needs: [KOTLIN] # MATLAB_MCM, MAPLE, MMA
steps:
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3

View File

@ -20,4 +20,6 @@ COPY --chown="${NB_UID}:${NB_GID}" --from=builder /opt/mamba /opt/mamba
ENV PATH="/opt/mamba/bin:${PATH}"
USER ${NB_UID}
USER ${NB_UID}
RUN mv /opt/mamba/share/jupyter/kernels/fortran/ /opt/base/share/jupyter/kernels/

View File

@ -1,15 +1,12 @@
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends openjdk-17-jre && \
apt-get install --yes --no-install-recommends openjdk-17-jre && \
apt-get clean && rm -rf /var/lib/apt/lists/*
USER $NB_UID
ENV JUPYTER_ENABLE_LAB=yes
RUN mamba install --yes -c jetbrains kotlin-jupyter-kernel && \
mamba clean --all -f -y
RUN pip install kotlin-jupyter-kernel && \
pip cache purge