debian10 buster 可能要停止维护了

FROM python:3.10-buster

RUN (echo "deb http://mirrors.cloud.aliyuncs.com/debian/ buster main non-free contrib" > /etc/apt/sources.list) 
RUN (apt-get update) && (apt-get upgrade -y)

RUN (apt-get install -y  sysstat vim wget httpie netcat htop curl) 

WORKDIR /code

RUN /usr/local/bin/python -m pip install --upgrade pip -i http://mirrors.cloud.aliyuncs.com/pypi/simple/ --trusted-host mirrors.cloud.aliyuncs.com
COPY requirements-prd.txt /code/
RUN pip install -r requirements-prd.txt -i http://mirrors.cloud.aliyuncs.com/pypi/simple/ --trusted-host mirrors.cloud.aliyuncs.com
COPY config.yaml /code/
COPY . /code/

ENV RUN_MODE=prd

上面脚本,报错如下

Get:36 http://mirrors.cloud.aliyuncs.com/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB]

Fetched 20.6 MB in 28s (725 kB/s)
E: Failed to fetch http://mirrors.cloud.aliyuncs.com/debian/pool/main/g/gsasl/libgsasl7_1.8.0-8+b2_amd64.deb  404  Not Found [IP: 100.100.2.148 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

但是看来一下官网又不是

https://wiki.debian.org/LTS

debian10 buster 可能要停止维护了_第1张图片

估计还是不靠谱的 aliyun 导致的

你可能感兴趣的:(debian)