logo
0
0
WeChat Login
Forkfromexamples/language/python-3, aheadmain3 commits, behindmain7 commits

Cloud Native Python 3.12 Development Environment

Usage

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

Included Software:

  • Python 3.12.10
  • code-server
  • pip (latest)
  • setuptools & wheel
  • git
  • curl
  • wget
  • cmake
  • clang
  • llvm-dev
  • libclang-dev
  • build-essential
  • twine
  • build(Python)
  • uv
  • poetry
  • System utilities: unzip, lsof, nload, htop, net-tools, dnsutils, openssh-server, vim

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

安装web-scrcpy 远程手机

   git clone https://github.com/baixin1228/web-scrcpy.git
   cd web-scrcpy
   pip3 install -r requirements.txt
   python3 app.py

docker 运行云手机

docker run -itd --rm --privileged \
    --pull always \
    -v ~/data:/data \
    -p 5555:5555 \
    redroid/redroid:12.0.0_64only-latest

构建基础镜像

docker build -t docker.cnb.cool/zrz2025/python-3/python-web-scrcpy:latest . docker push docker.cnb.cool/zrz2025/python-3/python-web-scrcpy:latest

About

云原生 python 3 开发环境

Language
JavaScript90.4%
HTML2.5%
Python2.4%
Markdown1.9%
Others2.8%