logo
0
0
WeChat Login
Forkfromexamples/language/python-3, aheadmain8 commits, behindmain2 commits
合并来自 auto/latest-tag-readme-12ec 的合并请求 #6

Cloud Native Python 3 Multi-Version Development Environment

Multi-arch (amd64/arm64) Docker images for all Security Support Python versions.

Available Images

VersionLatest PatchEOL DateImage
latest → 3.143.14.52030-10-31docker.cnb.cool/examples/language/python-3:latest
3.133.13.132029-10-31docker.cnb.cool/examples/language/python-3:3.13
3.123.12.132028-10-31docker.cnb.cool/examples/language/python-3:3.12
3.113.11.152027-10-31docker.cnb.cool/examples/language/python-3:3.11
3.103.10.202026-10-31docker.cnb.cool/examples/language/python-3:3.10

Usage (Cloud Native Development)

$:
  vscode:
    - docker:
        image: docker.cnb.cool/examples/language/python-3:3.14
      services:
        - vscode
        - docker
      stages:
        - name: ls
          script: ls -al

Included Software

  • Python (version specified by tag)
  • code-server
  • pip, setuptools & wheel
  • git, curl, wget
  • cmake, clang, llvm-dev, libclang-dev, build-essential
  • twine, build (Python packaging)
  • uv (fast Python package manager)
  • poetry
  • System utilities: unzip, lsof, nload, htop, net-tools, dnsutils, openssh-server, vim

Package Management

This image ships with uv, a blazing-fast Python package manager written in Rust. UV_SYSTEM_PYTHON=1 is pre-configured, so uv shares the same system Python environment with pip.

# Recommended: use uv for faster installs with global cache and parallel downloads
uv pip install kaggle

# Or continue using pip as usual
pip install kaggle

Tip: Stick with uv pip install for all dependency management to avoid lock file and resolution inconsistencies.

Included VS Code Extensions

  • ms-python.python
  • ms-python.flake8
  • ms-python.black-formatter
  • ms-python.mypy-type-checker
  • ms-python.pylint
  • formulahendry.code-runner
  • ms-toolsai.jupyter
  • ms-python.debugpy
  • tencent-cloud.coding-copilot
  • cnbcool.cnb-welcome

About

云原生 python 3 开发环境

Language
Dockerfile100%