You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Constraints from bazel_tools should not be used, instead the ones from https://github.com/bazelbuild/platforms should be used. In Bazel 5.0 this will be flipped and already now to prepare the migration to Bazel 5.0 someone depending on rules_docker cannot flip the flag because rules_docker still uses bazel_tools.
More info in: bazelbuild/bazel#8622
🔬 Minimal Reproduction
Build something with the flag --incompatible_use_platforms_repo_for_constraints
🔥 Exception or Error
invalid registered toolchain '@io_bazel_rules_docker//toolchains/docker:default_linux_toolchain': Analysis of target '@bazel_tools//platforms:linux' failed
🌍 Your Environment
Operating System:
Linux
Output of bazel version:
5.0.0rc1 without he incompatible flag
4.0.0 with incompatible flag
Rules_docker version:
0.19
The text was updated successfully, but these errors were encountered:
limdor
added a commit
to limdor/rules_docker
that referenced
this issue
Nov 8, 2021
🐞 bug report
Affected Rule
Any that use constraints from bazel_tools
Is this a regression?
No
Description
Constraints from bazel_tools should not be used, instead the ones from https://github.com/bazelbuild/platforms should be used. In Bazel 5.0 this will be flipped and already now to prepare the migration to Bazel 5.0 someone depending on rules_docker cannot flip the flag because rules_docker still uses bazel_tools.
More info in: bazelbuild/bazel#8622
🔬 Minimal Reproduction
Build something with the flag --incompatible_use_platforms_repo_for_constraints
🔥 Exception or Error
invalid registered toolchain '@io_bazel_rules_docker//toolchains/docker:default_linux_toolchain': Analysis of target '@bazel_tools//platforms:linux' failed
🌍 Your Environment
Operating System:
Linux
Output of
bazel version
:5.0.0rc1 without he incompatible flag
4.0.0 with incompatible flag
Rules_docker version:
0.19
The text was updated successfully, but these errors were encountered: