Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

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
Collaborator

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants