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

Remove duplicate "not found" from some error messages #2047

Merged
merged 1 commit into from
Jul 2, 2021

Commits on Mar 29, 2021

  1. Remove duplicate "not found" from some error messages

    I noticed this when building a Dockerfile that failed because a file didn't
    exist, so went through error messages that looked like they had a duplicate
    "not found" in the output;
    
        [+] Building 0.9s (6/9)
         => [internal] load build definition from Dockerfile                0.2s
         => => transferring dockerfile: 306B                                0.0s
         => [internal] load .dockerignore                                   0.1s
         => => transferring context: 2B                                     0.0s
         => [internal] load metadata for docker.io/library/alpine:latest    0.0s
         => CACHED [1/5] FROM docker.io/library/alpine                      0.0s
         => [internal] load build context                                   0.6s
         => => transferring context: 701B                                   0.5s
         => ERROR [2/5] ADD no-such-file.txt /                              0.0s
        ------
         > [2/5] ADD no-such-file.txt /:
        ------
        failed to compute cache key: "/no-such-file.txt" not found: not found
    
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    thaJeztah committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    b81b56e View commit details
    Browse the repository at this point in the history