Tencent / rapidjson

A fast JSON parser/generator for C++ with both SAX/DOM style API
http://rapidjson.org/
Other
14.19k stars 3.53k forks source link

Docker file uses end of life debian with offline package server #2221

Open biggestsonicfan opened 10 months ago

biggestsonicfan commented 10 months ago
 => [internal] load build definition from Dockerfile                                                                                                                       0.0s
 => => transferring dockerfile: 268B                                                                                                                                       0.0s
 => [internal] load .dockerignore                                                                                                                                          0.0s
 => => transferring context: 2B                                                                                                                                            0.0s
 => [internal] load metadata for docker.io/library/debian:jessie                                                                                                           0.1s
 => CACHED [1/2] FROM docker.io/library/debian:jessie@sha256:32ad5050caffb2c7e969dac873bce2c370015c2256ff984b70c1c08b3a2816a0                                              0.0s
 => ERROR [2/2] RUN apt-get update && apt-get install -y g++ cmake doxygen valgrind                                                                                        3.2s
------                                                                                                                                                                          
 > [2/2] RUN apt-get update && apt-get install -y g++ cmake doxygen valgrind:                                                                                                   
2.630 Ign http://security.debian.org jessie/updates InRelease                                                                                                                   
2.651 Ign http://security.debian.org jessie/updates Release.gpg                                                                                                                 
2.662 Ign http://deb.debian.org jessie InRelease                                                                                                                                
2.675 Ign http://security.debian.org jessie/updates Release                                                                                                                     
2.688 Err http://security.debian.org jessie/updates/main amd64 Packages
2.688   
2.695 Ign http://deb.debian.org jessie-updates InRelease
2.705 Err http://security.debian.org jessie/updates/main amd64 Packages
2.705   
2.712 Ign http://deb.debian.org jessie Release.gpg
2.724 Err http://security.debian.org jessie/updates/main amd64 Packages
2.724   
2.736 Ign http://deb.debian.org jessie-updates Release.gpg
2.744 Err http://security.debian.org jessie/updates/main amd64 Packages
2.744   
2.757 Ign http://deb.debian.org jessie Release
2.763 Err http://security.debian.org jessie/updates/main amd64 Packages
2.763   404  Not Found [IP: 151.101.130.132 80]
2.778 Ign http://deb.debian.org jessie-updates Release
3.201 Err http://deb.debian.org jessie/main amd64 Packages
3.201   404  Not Found
3.215 Err http://deb.debian.org jessie-updates/main amd64 Packages
3.215   404  Not Found
3.216 W: Failed to fetch http://security.debian.org/debian-security/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.130.132 80]
3.216 
3.216 W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages  404  Not Found
3.216 
3.216 W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found
3.216 
3.216 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Dockerfile:6
--------------------
   4 |     FROM debian:jessie
   5 |     
   6 | >>> RUN apt-get update && apt-get install -y g++ cmake doxygen valgrind
   7 |     
   8 |     ENTRYPOINT ["/bin/bash"]
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y g++ cmake doxygen valgrind" did not complete successfully: exit code: 100

Perhaps it's time to revisit the dockerfile or decide to remove it entirely?