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

Add tool target attribute to docker toolchain #1946

Conversation

moshe
Copy link
Contributor

@moshe moshe commented Oct 31, 2021

PR Checklist

Please check if your PR fulfills the following requirements:

Regarding 👇, do you have docs about how to add tests and how to generate docs?

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Currently, there is no way to supply a docker client as a target, which requires you to install docker not part of Bazel

What is the new behavior?

Just like the other tools in the toolchain (gzip, xz), you can supply docker_target in order to get the docker client from bazel

Does this PR introduce a breaking change?

  • Yes
  • No

@google-cla google-cla bot added the cla: yes label Oct 31, 2021
@moshe moshe force-pushed the moshe.add-tool-target-attribute-to-docker-toolchain branch from 4471bb7 to 863a3f8 Compare November 1, 2021 07:57
@alexeagle alexeagle force-pushed the moshe.add-tool-target-attribute-to-docker-toolchain branch from 863a3f8 to 6b716a3 Compare November 10, 2021 15:04
@alexeagle
Copy link
Contributor

I rebased it to get past a suppression of broken test

@moshe
Copy link
Contributor Author

moshe commented Nov 14, 2021

I rebased it to get past a suppression of broken test

Thank you @alexeagle! ETA for a review?

Copy link
Collaborator

@gravypod gravypod left a comment

Choose a reason for hiding this comment

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

Thanks for this change.

@alexeagle alexeagle merged commit 029b9a1 into bazelbuild:master Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants