Skip to content

Running the tests via Docker fails #10

@floriankraemer

Description

@floriankraemer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions