tencentmusic / cube-studio

cube studio开源云原生一站式机器学习/深度学习/大模型AI平台,支持sso登录,多租户,大数据平台对接,notebook在线开发,拖拉拽任务流pipeline编排,多机多卡分布式训练,超参搜索,推理服务VGPU,边缘计算,serverless,标注平台,自动化标注,数据集管理,大模型微调,vllm大模型推理,llmops,私有知识库,AI模型应用商店,支持模型一键开发/推理/微调,支持国产cpu/gpu/npu芯片,支持RDMA,支持pytorch/tf/mxnet/deepspeed/paddle/colossalai/horovod/spark/ray/volcano分布式
Other
3.45k stars 610 forks source link

Dockerfile-base打包出错 #195

Closed lkad closed 1 year ago

lkad commented 1 year ago

最近在使用dockerfile打包的时候报错,貌似是jessie已经停止支持了,所以仓库没有了。个人建议能否升级到python:3.6-slim-buster


docker build -t xx . -f install/docker/Dockerfile-base Sending build context to Docker daemon 2.911GB Step 1/11 : FROM python:3.6-jessie ---> 890456b21ed5 Step 2/11 : ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 ---> Using cache ---> 7738610d8688 Step 3/11 : RUN apt-get update -y && apt-get install -y apt-transport-https apt-utils build-essential libssl-dev libglib2.0-0 libnss3 libgconf-2-4 libfontconfig1 vim less postgresql-client redis-tools libffi-dev python3-dev libsasl2-dev libldap2-dev libxi-dev && curl -sL https://deb.nodesource.com/setup_10.x | bash - ---> Running in 595922533c5a Ign http://deb.debian.org jessie InRelease Ign http://deb.debian.org jessie Release.gpg Ign http://deb.debian.org jessie Release Ign http://security.debian.org jessie/updates InRelease Ign http://security.debian.org jessie/updates Release.gpg Err http://deb.debian.org jessie/main amd64 Packages

Ign http://security.debian.org jessie/updates Release Err http://deb.debian.org jessie/main amd64 Packages

Err http://security.debian.org jessie/updates/main amd64 Packages

Err http://security.debian.org jessie/updates/main amd64 Packages

Err http://security.debian.org jessie/updates/main amd64 Packages

Err http://deb.debian.org jessie/main amd64 Packages

Err http://security.debian.org jessie/updates/main amd64 Packages

Err http://security.debian.org jessie/updates/main amd64 Packages 404 Not Found [IP: 151.101.66.132 80] Err http://deb.debian.org jessie/main amd64 Packages

Err http://deb.debian.org jessie/main amd64 Packages 404 Not Found W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.66.132 80]

E: Some index files failed to download. They have been ignored, or old ones used instead. The command '/bin/sh -c apt-get update -y && apt-get install -y apt-transport-https apt-utils build-essential libssl-dev libglib2.0-0 libnss3 libgconf-2-4 libfontconfig1 vim less postgresql-client redis-tools libffi-dev python3-dev libsasl2-dev libldap2-dev libxi-dev && curl -sL https://deb.nodesource.com/setup_10.x | bash -' returned a non-zero code: 100


lkad commented 1 year ago

最新master已使用3.9