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

bugfix: moby/buildkit dockerfile plus library incompatiblity fix #58

Closed

Conversation

akoerner1
Copy link
Contributor

@akoerner1 akoerner1 commented May 24, 2023

Bugfix

There is a bug in https://github.com/edrevo/dockerfile-plus which makes it incompatible with newer versions of moby/buildkit. The CLI is broken in docker versions > 24.0.0

Fix

edrevo/dockerfile-plus is/was used in the runtime layers for the CLI to improve code reuse in dockerfiles. This plugin is now broken resulting in an error similar to the following:

ERROR: failed to solve: missing provenance for <HASH>

This plugin has fallen into obscurity with no changes in >3 years. This fix removes the use of the plugin in the cli runtime context fixing the error.

This bug impacts the ADORe CLI and plotlabserver runtime contexts both of which have been fixed with this pr.

Related Issues

moby/buildkit#3562
docker/buildx#1583
edrevo/dockerfile-plus#30

@n-mat n-mat self-requested a review June 19, 2023 20:45
Copy link
Contributor

@n-mat n-mat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We observed the same error today, your suggested changes remedied it.

@akoerner1
Copy link
Contributor Author

This PR can be closed. It was included in omnibus PR #57

@akoerner1
Copy link
Contributor Author

This PR can be closed. It was included in omnibus PR #57

@akoerner1 akoerner1 closed this Aug 10, 2023
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

Successfully merging this pull request may close these issues.

2 participants