Enable BuildKit on gradle docker task
Closes #32819 enabling BuildKit via Gradle :docker task defined in buildSrc/src/main/groovy/org/apache/beam/gradle/BeamDockerPlugin.groovy.
Prior to creating PR, validated via running :sdks:go:container:docker, :sdks:Java:container:java11:docker, :sdks:python:container:py311:docker, :runners:google-cloud-dataflow-java:validatesRunnerV2, and :runners:google-cloud-dataflow-java:validatesCrossLanguageRunnerPythonUsingPython. The Dataflow validates runner tests detect errors in the container image build as a result of using BuildKit within an Job execution context.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
- [x] Mention the appropriate issue in your description (for example:
addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>instead. - ~Update
CHANGES.mdwith noteworthy changes.~ - ~If this contribution is large, please file an Apache Individual Contributor License Agreement.~
See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers
R: @Abacn
Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers