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

Support for BuildKit #265

Closed
Blue-Lamp opened this issue Aug 9, 2021 · 5 comments · Fixed by #387
Closed

Support for BuildKit #265

Blue-Lamp opened this issue Aug 9, 2021 · 5 comments · Fixed by #387
Labels
enhancement New feature or request pinned r/image Relates to the image resource
Milestone

Comments

@Blue-Lamp
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

New or Affected Resource(s)

  • docker_image

References

@Blue-Lamp Blue-Lamp changed the title Support for build images with BuildKit Support for BuildKit Aug 9, 2021
@suzuki-shunsuke suzuki-shunsuke added enhancement New feature or request r/image Relates to the image resource labels Aug 9, 2021
@github-actions
Copy link

github-actions bot commented Oct 8, 2021

This issue is stale because it has been open 60 days with no activity.
Remove stale label or comment or this will be closed in 7 days.
If you don't want this issue to be closed, please set the label pinned.

@github-actions github-actions bot added the stale label Oct 8, 2021
@mavogel mavogel added pinned and removed stale labels Oct 15, 2021
@lamalex
Copy link

lamalex commented Dec 20, 2021

Can this please be reopened?

@mavogel mavogel reopened this Dec 21, 2021
@QuanTran91
Copy link

When I am building the image using this provider. I got the issue " the --mount option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled".
Turn out this provider does not support BuildKit yet.
+1 vote for supporting it.

@pspot2
Copy link

pspot2 commented May 5, 2022

BuildKit support is activated by setting version = "2" in the build block. However, building using BuildKit requires the client to first establish an active build session, otherwise the build fails with

dockerfile.v0: failed to create LLB definition: no active sessions

Therefore still not usable. See also hashicorp/waypoint#1056.

@Junkern
Copy link
Contributor

Junkern commented Jun 23, 2022

Just released v2.17.0 which now has BuildKit Support :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned r/image Relates to the image resource
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants