- FROM python:3.12-slim
- ENV http_proxy=http://192.168.0.50:7890
- ENV https_proxy=http://192.168.0.50:7890
- # 先临时关闭校验,安装必要工具
- RUN apt-get update -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowUnsigned=true && \
- apt-get install -y --no-install-recommends --allow-unauthenticated libglib2.0-0 libgl1 && rm -rf /var/lib/apt/lists/*
|