add new addition

This commit is contained in:
ben0i0d 2024-10-26 06:08:52 +08:00
parent 05a2aa83aa
commit 182afb9b5f
4 changed files with 6 additions and 3 deletions

View File

@ -385,7 +385,7 @@ jobs:
Push:
runs-on: runner
needs: [GO] # MATLAB_MCM, MAPLE, MMA
needs: [MATLAB_MCM, MAPLE, MMA] #
steps:
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3

View File

@ -68,6 +68,7 @@ c.DockerSpawner.allowed_images = {
**Global**
* jupyterlab-language-pack-zh-CN:Support for Chinese
* jupyterlab_tabnineIt is used for autocompletion, parameter suggestion, function document query, and jump definition
* jupyterlab-execute-time: Displays the execution time of each cell
**Part**

View File

@ -75,6 +75,7 @@ plt.rcParams["font.family"] = zh_font.get_name()
**全局**
* jupyterlab-language-pack-zh-CN:对中文的支持
* jupyterlab_tabnine用于自动补全、参数建议、函数文档查询、跳转定义
* jupyterlab-execute-time: 用于显示代码执行时间
**局部**

View File

@ -26,7 +26,8 @@ RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list.d/debi
# install base packages
apt-get update --yes && apt-get install --yes --no-install-recommends sudo tini unzip python3-venv && \
apt-get clean && rm -rf /var/lib/apt/lists/* && \
chmod a+rx /usr/local/bin/* && \
# enhance scripts & repair HEALTHCHECK permission denied
chmod a+rx /usr/local/bin/* /etc/jupyter/docker_healthcheck.py && \
# disable super permision
echo "auth requisite pam_deny.so" >> /etc/pam.d/su && \
sed -i.bak -e 's/^%admin/#%admin/' /etc/sudoers && \
@ -51,7 +52,7 @@ USER ${NB_UID}
# install jupyter extension
RUN pip install 'jupyterlab' 'jupyterhub' && \
pip install jupyterlab-language-pack-zh-CN jupyterlab_tabnine && \
pip install jupyterlab-language-pack-zh-CN jupyterlab_tabnine jupyterlab-execute-time && \
pip cache purge
WORKDIR "${HOME}"