simplify description & add our gitea

This commit is contained in:
ben0i0d 2024-10-11 10:29:11 +08:00
parent 12f0f6be03
commit faf8c2f67a
3 changed files with 299 additions and 306 deletions

View File

@ -14,307 +14,307 @@ jobs:
context: python/cpu context: python/cpu
tags: eoelab.org:1027/${{ gitea.repository }}:py-c tags: eoelab.org:1027/${{ gitea.repository }}:py-c
# SCIPY: SCIPY:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: scipy build - name: scipy build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: ScienceCompute/scipy context: ScienceCompute/scipy
# tags: eoelab.org:1027/${{ gitea.repository }}:scipy tags: eoelab.org:1027/${{ gitea.repository }}:scipy
# PYAI_C: PYAI_C:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: pyai-c build - name: pyai-c build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: ScienceCompute/pyai/cpu context: ScienceCompute/pyai/cpu
# tags: eoelab.org:1027/${{ gitea.repository }}:pyai-c tags: eoelab.org:1027/${{ gitea.repository }}:pyai-c
# SCRPY_C: SCRPY_C:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: scrpy-c build - name: scrpy-c build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: BigData/scrpy context: BigData/scrpy
# tags: eoelab.org:1027/${{ gitea.repository }}:scrpy tags: eoelab.org:1027/${{ gitea.repository }}:scrpy
# SQL: SQL:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: scrpy-c build - name: scrpy-c build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: BigData/sql context: BigData/sql
# tags: eoelab.org:1027/${{ gitea.repository }}:sql tags: eoelab.org:1027/${{ gitea.repository }}:sql
# PYSPARK: PYSPARK:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: pyspark build - name: pyspark build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: BigData/pyspark context: BigData/pyspark
# tags: eoelab.org:1027/${{ gitea.repository }}:pyspark tags: eoelab.org:1027/${{ gitea.repository }}:pyspark
# PYFLINK: PYFLINK:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: pyflink build - name: pyflink build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: BigData/pyflink context: BigData/pyflink
# tags: eoelab.org:1027/${{ gitea.repository }}:pyflink tags: eoelab.org:1027/${{ gitea.repository }}:pyflink
# AGDA: AGDA:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# ANSIBLE: ANSIBLE:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: ansible build - name: ansible build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/ansible context: Program/ansible
# tags: eoelab.org:1027/${{ gitea.repository }}:ansible tags: eoelab.org:1027/${{ gitea.repository }}:ansible
# C: C:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: c build - name: c build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/c context: Program/c
# tags: eoelab.org:1027/${{ gitea.repository }}:c tags: eoelab.org:1027/${{ gitea.repository }}:c
# CADABRA2: CADABRA2:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: cadabra2 build - name: cadabra2 build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/cadabra2 context: Program/cadabra2
# tags: eoelab.org:1027/${{ gitea.repository }}:cadabra2 tags: eoelab.org:1027/${{ gitea.repository }}:cadabra2
# CHAPEL: CHAPEL:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# CPP: CPP:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: cpp build - name: cpp build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/cpp context: Program/cpp
# tags: eoelab.org:1027/${{ gitea.repository }}:cpp tags: eoelab.org:1027/${{ gitea.repository }}:cpp
# JAVA: JAVA:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# JS: JS:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: js build - name: js build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/js context: Program/js
# tags: eoelab.org:1027/${{ gitea.repository }}:js tags: eoelab.org:1027/${{ gitea.repository }}:js
# JULIA: JULIA:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: julia build - name: julia build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/julia context: Program/julia
# tags: eoelab.org:1027/${{ gitea.repository }}:julia tags: eoelab.org:1027/${{ gitea.repository }}:julia
# LUA: LUA:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: lua build - name: lua build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/lua context: Program/lua
# tags: eoelab.org:1027/${{ gitea.repository }}:lua tags: eoelab.org:1027/${{ gitea.repository }}:lua
# R: R:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: r build - name: r build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Program/r context: Program/r
# tags: eoelab.org:1027/${{ gitea.repository }}:r tags: eoelab.org:1027/${{ gitea.repository }}:r
# NOVNC: NOVNC:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: novnc build - name: novnc build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Gui/novnc context: Gui/novnc
# tags: eoelab.org:1027/${{ gitea.repository }}:novnc tags: eoelab.org:1027/${{ gitea.repository }}:novnc
# PYQT6: PYQT6:
# runs-on: runner runs-on: runner
# needs: NOVNC needs: NOVNC
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: pyqt6 build - name: pyqt6 build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Gui/pyqt6 context: Gui/pyqt6
# tags: eoelab.org:1027/${{ gitea.repository }}:pyqt6 tags: eoelab.org:1027/${{ gitea.repository }}:pyqt6
# OCTAVE: OCTAVE:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: octave build - name: octave build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Math/octave context: Math/octave
# tags: eoelab.org:1027/${{ gitea.repository }}:octave tags: eoelab.org:1027/${{ gitea.repository }}:octave
# SAGEMATH: SAGEMATH:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: sagemath build - name: sagemath build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Math/sagemath context: Math/sagemath
# tags: eoelab.org:1027/${{ gitea.repository }}:sage tags: eoelab.org:1027/${{ gitea.repository }}:sage
# SCILAB: SCILAB:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: scilab build - name: scilab build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Math/scilab context: Math/scilab
# tags: eoelab.org:1027/${{ gitea.repository }}:scilab tags: eoelab.org:1027/${{ gitea.repository }}:scilab
# MAPLE: MAPLE:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: maple build - name: maple build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Math/maple context: Math/maple
# tags: eoelab.org:1027/${{ gitea.repository }}:maple tags: eoelab.org:1027/${{ gitea.repository }}:maple
# MMA: MMA:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: mma build - name: mma build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Math/mathematica context: Math/mathematica
# tags: eoelab.org:1027/${{ gitea.repository }}:mma tags: eoelab.org:1027/${{ gitea.repository }}:mma
# MATLAB_MINIMAL: MATLAB_MINIMAL:
# runs-on: runner runs-on: runner
# needs: Base needs: Base
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: matlab build - name: matlab build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Math/matlab/minimal context: Math/matlab/minimal
# tags: eoelab.org:1027/${{ gitea.repository }}:matlab-minimal tags: eoelab.org:1027/${{ gitea.repository }}:matlab-minimal
# MATLAB_MCM: MATLAB_MCM:
# runs-on: runner runs-on: runner
# needs: MATLAB_MINIMAL needs: MATLAB_MINIMAL
# steps: steps:
# - name: checkout code - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4 uses: https://eoelab.org:1027/actions/checkout@v4
# - name: matlab-mcm build - name: matlab-mcm build
# uses: https://eoelab.org:1027/actions/build-push-action@v6 uses: https://eoelab.org:1027/actions/build-push-action@v6
# with: with:
# context: Math/matlab/mcm context: Math/matlab/mcm
# tags: eoelab.org:1027/${{ gitea.repository }}:matlab-mcm tags: eoelab.org:1027/${{ gitea.repository }}:matlab-mcm
Push: Push:
runs-on: runner runs-on: runner
needs: [Base] #MATLAB_MCM, MAPLE, MMA needs: [MATLAB_MCM, MAPLE, MMA] #
steps: steps:
- name: login gitea_registry - name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3 uses: https://eoelab.org:1027/actions/login-action@v3

View File

@ -7,6 +7,7 @@ English | [中文](README_CN.md)
**THIS doc for non-CN USER** **THIS doc for non-CN USER**
**dockerhub: https://hub.docker.com/r/ben0i0d/jupyter** **dockerhub: https://hub.docker.com/r/ben0i0d/jupyter**
**Our Gitea: https://eoelab.org:1027/ben0i0d/jupyter**
### HOW TO USE ### HOW TO USE
**Docker** **Docker**
@ -19,37 +20,33 @@ Specify the image in the profile of the singleuser
- description: SCIPython, for scientific research and engineering applications. - description: SCIPython, for scientific research and engineering applications.
display_name: Scipy display_name: Scipy
kubespawner_override: kubespawner_override:
image: docker.io/ben0i0d/jupyter:scipy-c image: docker.io/ben0i0d/jupyter:scipy
``` ```
**Jupyterhub on Docker** **Jupyterhub on Docker**
``` ```
c.DockerSpawner.allowed_images = { c.DockerSpawner.allowed_images = {
'Python': 'ben0i0d/jupyter:py-c' 'Scipy': 'ben0i0d/jupyter:scipy'
} }
``` ```
### Global description ### Global description
1. If you build or fork the image yourself, replace the base image in the Dockerfile with the image on DockerHub 1. If you build or fork the image yourself, replace the base image in the Dockerfile with the image on DockerHub
2. For commercial software such as Mathematica, MATLAB, etc., we only provide packaging, and the specific activation method and possible consequences are borne by the user 2. For commercial software such as Mathematica, MATLAB, etc., we only provide packaging, and the specific activation method and possible consequences are borne by the user
### List of images that are currently being built ### List of images that are currently being built
* Upstream: Mirror upstream, benchmarking against the jupyter official minimal-notebook image * Base: benchmarking against the jupyter official minimal-notebook image
* Description * Description
1. Upstream has switched to `debian:bookworm-slim`, and GPU upstream images are also built based on `debian:bookworm` 1. Upstream has switched to `debian:bookworm-slim`, and GPU upstream images are also built based on `debian:bookworm`
2. Sudo is added for passwordless use. In scenarios with high security requirements, do not allow privilege escalation 2. Sudo is added for passwordless use. In scenarios with high security requirements, do not allow privilege escalation
3. Provided packages: .zip extraction 3. Provided packages: .zip extraction
* Python: Supports Python , combining Python syntax with the ecosystem for production and research. * Python: Supports Python
* Scipy: Provides a scientific computing environment for Python, offering rich numerical computation, optimization, signal processing, statistical analysis, etc., for scientific research and engineering applications. * Scipy: Provides a scientific computing environment for Python
* Scrpy: Provides a web scraping environment for Python, used for extracting data from the internet, automating information gathering and analysis tasks, suitable for data mining, web scraping, and business intelligence collection applications. * Scrpy: Provides a web scraping environment for Python
* pyspark: Provides a Python-based Spark programming interface for large-scale data processing and analysis, offering powerful parallel computing capabilities and rich data manipulation functions, suitable for efficient data processing and machine learning tasks in distributed environments. * pyspark: Provides a Python-based Spark program
* pyflink: Provides a Python-based Flink programming interface for stateful computation of unbounded and bounded data streams. It also offers batch processing APIs for processing batch data computations based on stream computing engines. * pyflink: Provides a Python-based Flink program
* pyai (With GPU): Provides a common AI toolchain, offering a rich set of deep learning frameworks and NLP model libraries, enabling developers to easily build and train various AI models for applications in image recognition, natural language processing, etc. * pyai (With GPU): Provides Pytorch
* Julia: Supports Julia, a high-performance, dynamic programming language designed for scientific computing and data analysis, with readability similar to Python and execution speed similar to C. * Julia: Supports Julia
* Description: * Description:
1. Environment variable `JULIA_NUM_THREADS` in Julia image, please configure according to desired concurrency threads at startup. 1. Environment variable `JULIA_NUM_THREADS` in Julia image, please configure according to desired concurrency threads at startup, default is 8
* R: Supports R, a programming language for statistical analysis and data visualization, with rich data processing libraries and powerful statistical functions, widely used in data science and research fields.
* Sagemath: An open-source mathematical computation system that combines multiple mathematical packages, providing extensive mathematical functions such as numerical computation, symbolic computation, discrete mathematics, and statistical analysis. It is also an interactive computing environment, convenient for mathematical modeling, algorithm design, and academic research.
* Scilab (With Desktop-GUI): An open-source numerical computing software, suitable for numerical analysis, data visualization, simulation, and modeling in scientific and engineering fields. It provides a rich set of mathematical functions and toolboxes, supports matrix computation, symbolic computation, and plotting functions, is a powerful mathematical tool, especially suitable for education and research fields, provides Xfce desktop support, and includes all plugins available through APT.
* Octave: An open-source numerical computing software similar to Matlab, used for scientific computing, data analysis, and numerical simulation. It provides powerful matrix operations, plotting functions, and rich numerical analysis functions, a free and convenient tool suitable for mathematical modeling, algorithm development, and teaching tasks, includes all plugins available through APT.
* Maple: A mathematical software that provides a powerful mathematical engine through an intelligent file interface, enabling easy analysis, exploration, visualization, and solving of mathematical problems. * Maple: A mathematical software that provides a powerful mathematical engine through an intelligent file interface, enabling easy analysis, exploration, visualization, and solving of mathematical problems.
* Description * Description
1. Upload `license.dat libmaple.so` to the main directory. Each time the environment is started, run `sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/` to activate before use. 1. Upload `license.dat libmaple.so` to the main directory. Each time the environment is started, run `sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/` to activate before use.

View File

@ -7,6 +7,7 @@ English | [中文](README_CN.md)
**为中国用户的文档** **为中国用户的文档**
**我们的docker镜像仓库是 https://hub.docker.com/r/ben0i0d/jupyter** **我们的docker镜像仓库是 https://hub.docker.com/r/ben0i0d/jupyter**
**我们的Gitea镜像仓库是 https://eoelab.org:1027/ben0i0d/jupyter**
### 如何使用 ### 如何使用
**Docker** **Docker**
@ -19,19 +20,19 @@ English | [中文](README_CN.md)
- description: 提供Python的科学计算环境提供了丰富的数值计算、优化、信号处理、统计分析等功能用于科学研究和工程应用。 - description: 提供Python的科学计算环境提供了丰富的数值计算、优化、信号处理、统计分析等功能用于科学研究和工程应用。
display_name: Scipy display_name: Scipy
kubespawner_override: kubespawner_override:
image: docker.io/ben0i0d/jupyter:scipy-c image: docker.io/ben0i0d/jupyter:scipy
``` ```
**Jupyterhub on Docker** **Jupyterhub on Docker**
``` ```
c.DockerSpawner.allowed_images = { c.DockerSpawner.allowed_images = {
'Python': 'ben0i0d/jupyter:py-c' 'Scipy': 'ben0i0d/jupyter:scipy'
} }
``` ```
### 全局说明 ### 全局说明
1. 如果自行构建或派生替换dockerfile中的基础镜像为dockerhub上的镜像 1. 如果自行构建或派生替换dockerfile中的基础镜像为dockerhub上的镜像
2. 对于例如MathematicaMATLAB等商业软件我们只提供打包具体激活方式及可能带来的后果由用户承担 2. 对于例如MathematicaMATLAB等商业软件我们只提供打包具体激活方式及可能带来的后果由用户承担
3. 以下代码适用于解决matplotlib绘图缺失中文字体 3. 以下代码适用于解决matplotlib绘图缺失中文字体(使用前需要先安装wqy-zenhei字体)
``` ```
from matplotlib.font_manager import FontProperties from matplotlib.font_manager import FontProperties
# 设置中文字体路径 # 设置中文字体路径
@ -39,26 +40,21 @@ zh_font = FontProperties(fname="/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc")
# 将中文字体设置为默认字体 # 将中文字体设置为默认字体
plt.rcParams["font.family"] = zh_font.get_name() plt.rcParams["font.family"] = zh_font.get_name()
``` ```
### 当前构建镜像清单 ### 需要额外说明的镜像
* Upstream: 镜像上游,对标jupyter官方的minimal-notebook镜像 * Base基础镜像包含jupyterhubjupyterlab相当于jupyter官方的minimal-notebook镜像
* 说明 * 说明
1. 上游已经切换到`debian:bookworm-slim`GPU上游镜像也基于`debian:bookworm`二次构建了镜像 1. 上游已经切换到`debian:bookworm-slim`
2. 添加了sudo的无密码使用在安全要求较高的场景中不要允许特权提升 2. 添加了sudo的无密码使用在安全要求较高的场景中不要允许特权提升
3. 提供软件包:.zip文件解压(.zip) 3. 提供软件包:.zip文件解压(.zip)
* LlinuxWith Desktop-GUI在无特权的情况下学习Linux系统提供Xfce桌面支持 * Python支持Python。
* Python支持Python通过将python语法与生态系统相结合进行生产与研究。 * Scipy提供Python的科学计算环境
* Scipy提供Python的科学计算环境提供了丰富的数值计算、优化、信号处理、统计分析等功能用于科学研究和工程应用。 * Scrpy: 提供Python的网页采取环境适用于数据挖掘、网络爬虫
* Scrpy: 提供Python的网页采取环境用于提取互联网上的数据实现自动化的信息收集和分析任务适用于数据挖掘、网络爬虫以及业务情报收集等应用场景。 * pyspark: 提供基于Python的Spark编程接口
* pyspark: 提供基于Python的Spark编程接口用于大规模数据处理和分析提供了强大的并行计算能力和丰富的数据操作函数适合在分布式环境中进行高效的数据处理和机器学习任务。 * pyflink: 提供基于Python的Flink编程接口
* pyflink: 提供基于Python的Flink编程接口用于对无边界和有边界的数据流进行有状态的计算,也提供了批处理API用于基于流式计算引擎处理批量数据的计算能力。 * pyaiWith GPU提供Pytorch。
* pyaiWith GPU提供常用AI工具链提供了丰富的深度学习框架和NLP模型库使开发人员能够轻松构建和训练各种人工智能模型并应用于图像识别、自然语言处理等领域。 * Julia支持Julia
* Julia支持Julia高性能、动态的编程语言设计用于科学计算和数据分析具备类似Python的易读性和类似C的执行速度。
* 说明: * 说明:
1. Julia镜像中的环境变量`JULIA_NUM_THREADS`,请在启动时根据理想的并发线程数进行配置 1. Julia镜像中的环境变量`JULIA_NUM_THREADS`请在启动时根据理想的并发线程数进行配置默认为8
* R支持R面向统计分析和数据可视化的编程语言拥有丰富的数据处理库和强大的统计功能广泛应用于数据科学和研究领域。
* Sagemath一个开源的数学计算系统结合了多个数学软件包提供了广泛的数学功能如数值计算、符号计算、离散数学和统计分析。它也是一个交互式计算环境方便进行数学建模、算法设计和学术研究。
* ScilabWith Desktop-GUI: 开源的数值计算软件适用于科学和工程领域中的数值分析、数据可视化、模拟和建模。它提供了丰富的数学函数和工具箱支持矩阵计算、符号计算和绘图功能是一个强大的数学工具尤其适用于教育和研究领域提供Xfce桌面支持包含APT可获取的全部插件。
* Octave: 开源的数值计算软件类似于Matlab用于科学计算、数据分析和数值模拟。它提供了强大的矩阵运算、绘图功能以及丰富的数值分析函数是一个免费且便捷的工具适合进行数学建模、算法开发和教学任务包含APT可获取的全部插件。
* Maple: 一个数学软件,透过智能文件界面提供强大数学引擎,可以轻松分析、探索、可视化和求解数学问题 * Maple: 一个数学软件,透过智能文件界面提供强大数学引擎,可以轻松分析、探索、可视化和求解数学问题
* 说明 * 说明
1. 将`license.dat libmaple.so`上传至主目录,每一次启动环境时,运行`sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/`完成激活再使用 1. 将`license.dat libmaple.so`上传至主目录,每一次启动环境时,运行`sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/`完成激活再使用