repair js

This commit is contained in:
ben0i0d 2024-10-05 23:53:14 +08:00
parent 23a52a4c59
commit a4cd89a82b
3 changed files with 23 additions and 12 deletions

View File

@ -154,12 +154,18 @@ jobs:
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: java build
JS:
runs-on: runner
needs: Base
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: js build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
context: Program/java
tags: eoelab.org:1027/${{ gitea.repository }}:java
context: Program/js
tags: eoelab.org:1027/${{ gitea.repository }}:js
JULIA:
runs-on: runner
@ -293,10 +299,9 @@ jobs:
context: Math/matlab/mcm
tags: eoelab.org:1027/${{ gitea.repository }}:matlab-mcm
Push:
runs-on: runner
needs: [JAVA] #MATLAB_MCM, MAPLE, MMA
needs: [CPP] #MATLAB_MCM, MAPLE, MMA
steps:
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3

View File

@ -13,6 +13,15 @@ FROM eoelab.org:1027/ben0i0d/jupyter:py-c
COPY --chown="${NB_UID}:${NB_GID}" --from=builder /opt/mamba /opt/mamba
ENV PATH="/opt/mamba/bin:${PATH}"
USER root
RUN apt-get update --yes && apt-get install --yes g++ && \
apt-get clean && rm -rf /var/lib/apt/lists/*
USER ${NB_UID}
RUN jupyter kernelspec install /opt/mamba/share/jupyter/kernels/xcpp11 --sys-prefix && \
jupyter kernelspec install /opt/mamba/share/jupyter/kernels/xcpp11 --sys-prefix && \
jupyter kernelspec install /opt/mamba/share/jupyter/kernels/xcpp11 --sys-prefix
jupyter kernelspec install /opt/mamba/share/jupyter/kernels/xcpp14 --sys-prefix && \
jupyter kernelspec install /opt/mamba/share/jupyter/kernels/xcpp17 --sys-prefix

View File

@ -1,11 +1,8 @@
FROM eoelab.org:1027/ben0i0d/jupyter:py-c
USER root
RUN apt-get update --yes && \
apt-get install --yes nodejs npm && \
RUN apt-get update --yes && apt-get install --yes nodejs npm && \
apt-get clean && rm -rf /var/lib/apt/lists/* && \
npm config set registry https://registry.npmmirror.com && \
npm install -g --unsafe-perm ijavascript && \