🐞 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
🐞 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