Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the tests via Docker fails #10

Open
floriankraemer opened this issue Oct 31, 2024 · 0 comments
Open

Running the tests via Docker fails #10

floriankraemer opened this issue Oct 31, 2024 · 0 comments

Comments

@floriankraemer
Copy link

Something is not right with it, I guess the version is too old?

~/projects/php-approval-tests git:[Main]
docker build -t php .

[+] Building 0.9s (6/13)                                                                                                                                                                                                                                                                docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                                              0.0s
 => => transferring dockerfile: 516B                                                                                                                                                                                                                                                              0.0s
 => [internal] load metadata for docker.io/library/php:5.6.30-cli                                                                                                                                                                                                                                 0.2s
 => [internal] load .dockerignore                                                                                                                                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                                                   0.0s
 => CACHED [1/9] FROM docker.io/library/php:5.6.30-cli@sha256:aa08349c52c89f8ce32748e96e8f821c2f090678afd8519e47271f92d402a233                                                                                                                                                                    0.0s
 => [internal] load build context                                                                                                                                                                                                                                                                 0.0s
 => => transferring context: 6.49kB                                                                                                                                                                                                                                                               0.0s
 => ERROR [2/9] RUN apt-get update &&     apt-get install -y git zip unzip                                                                                                                                                                                                                        0.5s
------                                                                                                                                                                                                                                                                                                 
 > [2/9] RUN apt-get update &&     apt-get install -y git zip unzip:                                                                                                                                                                                                                                   
0.266 Ign http://deb.debian.org jessie InRelease                                                                                                                                                                                                                                                       
0.271 Ign http://security.debian.org jessie/updates InRelease                                                                                                                                                                                                                                          
0.277 Ign http://deb.debian.org jessie-updates InRelease                                                                                                                                                                                                                                               
0.285 Ign http://security.debian.org jessie/updates Release.gpg
0.289 Ign http://deb.debian.org jessie Release.gpg
0.296 Ign http://security.debian.org jessie/updates Release
0.300 Ign http://deb.debian.org jessie-updates Release.gpg
0.307 Err http://security.debian.org jessie/updates/main amd64 Packages
0.307   
0.312 Ign http://deb.debian.org jessie Release
0.318 Err http://security.debian.org jessie/updates/main amd64 Packages
0.318   
0.327 Ign http://deb.debian.org jessie-updates Release
0.331 Err http://security.debian.org jessie/updates/main amd64 Packages
0.331   
0.348 Err http://security.debian.org jessie/updates/main amd64 Packages
0.348   
0.360 Err http://security.debian.org jessie/updates/main amd64 Packages
0.360   404  Not Found [IP: 151.101.2.132 80]
0.450 Err http://deb.debian.org jessie/main amd64 Packages
0.450   404  Not Found
0.462 Err http://deb.debian.org jessie-updates/main amd64 Packages
0.462   404  Not Found
0.463 W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.2.132 80]
0.463 
0.463 W: Failed to fetch http://deb.debian.org/debian/dists/jessie/main/binary-amd64/Packages  404  Not Found
0.463 
0.463 W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found
0.463 
0.463 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Dockerfile:4
--------------------
   3 |     # OS and required software updates
   4 | >>> RUN apt-get update && \
   5 | >>>     apt-get install -y git zip unzip
   6 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update &&     apt-get install -y git zip unzip" did not complete successfully: exit code: 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant