add new addition
This commit is contained in:
parent
05a2aa83aa
commit
182afb9b5f
@ -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
|
||||
|
@ -68,6 +68,7 @@ c.DockerSpawner.allowed_images = {
|
||||
**Global**
|
||||
* jupyterlab-language-pack-zh-CN:Support for Chinese
|
||||
* jupyterlab_tabnine:It is used for autocompletion, parameter suggestion, function document query, and jump definition
|
||||
* jupyterlab-execute-time: Displays the execution time of each cell
|
||||
|
||||
**Part**
|
||||
|
||||
|
@ -75,6 +75,7 @@ plt.rcParams["font.family"] = zh_font.get_name()
|
||||
**全局**
|
||||
* jupyterlab-language-pack-zh-CN:对中文的支持
|
||||
* jupyterlab_tabnine:用于自动补全、参数建议、函数文档查询、跳转定义
|
||||
* jupyterlab-execute-time: 用于显示代码执行时间
|
||||
|
||||
**局部**
|
||||
|
||||
|
@ -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}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user