关于debian:debian10-buster-可能要停止维护了

73次阅读

共计 965 个字符,预计需要花费 3 分钟才能阅读完成。

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)
[91mE: 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

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

正文完
 0