-
Notifications
You must be signed in to change notification settings - Fork 310
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
missing provenance for fuqamtlkfg8ef41sv5ivh9bn6 #6125
Labels
bug
Something isn't working
Comments
OK, i think i understand the basic bug:
In the short term, you can workaround this by making sure that docker_build(tag, context) always sets context to a real directory. in the medium term, I think we should change the tilt build behavior to more closely match the docker cli behavior:
|
filed upstream as moby/buildkit#3928 |
nicks
added a commit
to nicks/tilt
that referenced
this issue
Jun 9, 2023
Before this change, if you specified a directory that doesn't exist as your docker_build context, you would get an empty build context. After this change, if you specify a directory that doesn't exist, you get a build-time error. You can use "-" to specify an empty build context. this is a breaking change, but i think makes us more consistent with how the docker cli works. fixes tilt-dev#3897 fixes tilt-dev#6125
nicks
added a commit
to nicks/tilt
that referenced
this issue
Jun 9, 2023
Before this change, if you specified a directory that doesn't exist as your docker_build context, you would get an empty build context. After this change, if you specify a directory that doesn't exist, you get a build-time error. You can use "-" to specify an empty build context. this is a breaking change, but i think makes us more consistent with how the docker cli works. fixes tilt-dev#3897 fixes tilt-dev#6125 Signed-off-by: Nick Santos <nick.santos@docker.com>
nicks
added a commit
to nicks/tilt
that referenced
this issue
Jun 9, 2023
Before this change, if you specified a directory that doesn't exist as your docker_build context, you would get an empty build context. After this change, if you specify a directory that doesn't exist, you get a build-time error. You can use "-" to specify an empty build context. this is a breaking change, but i think makes us more consistent with how the docker cli works. fixes tilt-dev#3897 fixes tilt-dev#6125 Signed-off-by: Nick Santos <nick.santos@docker.com>
nicks
added a commit
that referenced
this issue
Jun 12, 2023
Before this change, if you specified a directory that doesn't exist as your docker_build context, you would get an empty build context. After this change, if you specify a directory that doesn't exist, you get a build-time error. You can use "-" to specify an empty build context. this is a breaking change, but i think makes us more consistent with how the docker cli works. fixes #3897 fixes #6125 Signed-off-by: Nick Santos <nick.santos@docker.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We've received a report of buildkit on Docker 24 returning this error when running under tilt:
we haven't been able to reproduce the problem. buildkit-team pointed us at moby/buildkit#3562 but i can't think of a way you could even tell tilt to build multi-arch image.
filing for now to see if we get other reports and/or a repro case.
The text was updated successfully, but these errors were encountered: