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

ERROR: failed to solve: missing provenance for ydh0jnrflh7e63kskzbd3lv9v #30

Open
joehays opened this issue May 19, 2023 · 3 comments
Open

Comments

@joehays
Copy link

joehays commented May 19, 2023

Docker version 24.0.0, build 98fdcd7

I now get the following error if I use edrevo/dockerfile-plus syntax (even if I don't have an INCLUDE+ statement)

ERROR: failed to solve: missing provenance for ydh0jnrflh7e63kskzbd3lv9v

Help?

@akoerner1
Copy link

akoerner1 commented May 23, 2023

I'm getting the same error. I have put together a minimal reproducible example.
https://github.com/akoerner1/test

Docker version 24.0.1, build 680212

The issue occurs if you do not have a "INCLUDE+" statement in a Dockerfile that has "# syntax = edrevo/dockerfile-plus". Take the following example Dockerfile which will generate the error:

# syntax = edrevo/dockerfile-plus
FROM ubuntu:22.04

while the following example does not generate the error:

# syntax = edrevo/dockerfile-plus
FROM ubuntu:22.04
INCLUDE+ Dockerfile.test

Related issue

moby/buildkit#3562
docker/buildx#1583

@joehays
Copy link
Author

joehays commented May 24, 2023

FYI: I found that this is related to the most recent release of Docker 24.0 (released on May 16, 2023). If I downgrade to 23.x then the problem goes away.

I HOPE that dockerfile-plus will be able to get around this problem so we can continue to use it with the latest and future Docker releases...

@kozak
Copy link

kozak commented Jul 17, 2023

I also get this problem on:

% docker --version
Docker version 20.10.23, build 7155243

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

3 participants