can't build with docker
squallee opened this issue · 0 comments
Environment:
Tencent Cloud Ubuntu Server 18.04.1 LTS 64
Error Message:
ubuntu@VM-0-17-ubuntu:~/kids$ sudo docker build -t zhihu/kids .
Sending build context to Docker daemon 2.438MB
Step 1/9 : FROM debian:wheezy
wheezy: Pulling from library/debian
2b15b7abe8b3: Pull complete
Digest: sha256:2259b099d947443e44bbd1c94967c785361af8fd22df48a08a3942e2d5630849
Status: Downloaded newer image for debian:wheezy
---> 10fcec6d95c4
Step 2/9 : MAINTAINER Li Yichao liyichao.good@gmail.com
---> Running in 580c463c606e
Removing intermediate container 580c463c606e
---> 7ebb705db8ce
Step 3/9 : COPY ./docker/sources.list /etc/apt/sources.list
---> 4ef49fd0a7c6
Step 4/9 : RUN apt-get update && apt-get install -y --no-install-recommends build-essential libtool automake
---> Running in fe6def64cffc
Ign http://http.us.debian.org wheezy Release.gpg
Ign http://mirrors.163.com wheezy Release.gpg
Ign http://mirrors.163.com wheezy-proposed-updates Release.gpg
Ign http://mirrors.163.com wheezy/updates Release.gpg
Ign http://mirrors.163.com wheezy Release
Ign http://mirrors.163.com wheezy-proposed-updates Release
Ign http://mirrors.163.com wheezy/updates Release
Ign http://http.us.debian.org wheezy Release
Ign http://security.debian.org wheezy/updates Release.gpg
Ign http://security.debian.org wheezy/updates Release
Err http://security.debian.org wheezy/updates/contrib amd64 Packages
Err http://security.debian.org wheezy/updates/non-free amd64 Packages
Err http://security.debian.org wheezy/updates/contrib amd64 Packages
Err http://http.us.debian.org wheezy/main amd64 Packages
404 Not Found [IP: 208.80.154.15 80]
Err http://security.debian.org wheezy/updates/non-free amd64 Packages
Err http://security.debian.org wheezy/updates/main amd64 Packages
Err http://security.debian.org wheezy/updates/contrib amd64 Packages
Err http://security.debian.org wheezy/updates/non-free amd64 Packages
Err http://security.debian.org wheezy/updates/main amd64 Packages
404 Not Found
Err http://http.us.debian.org wheezy/contrib amd64 Packages
404 Not Found [IP: 208.80.154.15 80]
Err http://security.debian.org wheezy/updates/contrib amd64 Packages
404 Not Found
Err http://http.us.debian.org wheezy/non-free amd64 Packages
404 Not Found [IP: 208.80.154.15 80]
Err http://security.debian.org wheezy/updates/non-free amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy/main Sources
404 Not Found
Err http://mirrors.163.com wheezy/non-free Sources
404 Not Found
Err http://mirrors.163.com wheezy/contrib Sources
404 Not Found
Err http://mirrors.163.com wheezy/main amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy/non-free amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy/contrib amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy-proposed-updates/main Sources
404 Not Found
Err http://mirrors.163.com wheezy-proposed-updates/contrib Sources
404 Not Found
Err http://mirrors.163.com wheezy-proposed-updates/non-free Sources
404 Not Found
Err http://mirrors.163.com wheezy-proposed-updates/main amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy-proposed-updates/contrib amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy-proposed-updates/non-free amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy/updates/main Sources
404 Not Found
Err http://mirrors.163.com wheezy/updates/contrib Sources
404 Not Found
Err http://mirrors.163.com wheezy/updates/non-free Sources
404 Not Found
Err http://mirrors.163.com wheezy/updates/main amd64 Packages
404 Not Found
Err http://mirrors.163.com wheezy/updates/contrib amd64 Packages
404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy/non-free/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy/contrib/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy/non-free/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy-proposed-updates/main/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy-proposed-updates/contrib/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy-proposed-updates/non-free/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy-proposed-updates/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy-proposed-updates/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian/dists/wheezy-proposed-updates/non-free/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian-security/dists/wheezy/updates/main/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian-security/dists/wheezy/updates/contrib/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian-security/dists/wheezy/updates/non-free/source/Sources 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian-security/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian-security/dists/wheezy/updates/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://mirrors.163.com/debian-security/dists/wheezy/updates/non-free/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://http.us.debian.org/debian/dists/wheezy/main/binary-amd64/Packages 404 Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/wheezy/contrib/binary-amd64/Packages 404 Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://http.us.debian.org/debian/dists/wheezy/non-free/binary-amd64/Packages 404 Not Found [IP: 208.80.154.15 80]
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/non-free/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Err http://mirrors.163.com wheezy/updates/non-free amd64 Packages
404 Not Found
The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends build-essential libtool automake' returned a non-zero code: 100