🐞 bug report
Affected Rule
The issue is caused by the rule: java_image
Is this a regression?
Yes, the previous version in which this bug was not present was: 0.22.0
Description
When building a simple Java Docker image on macOS, the build fails with “No matching toolchains found”. It works on Linux, since the target and host platforms are identical.
🔬 Minimal Reproduction
See https://github.com/eikemeier/java-container
🔥 Exception or Error
bazel build //src/main/java/com/example/hello_world:hello_world_image
[...]
ERROR: [...]/java-container/src/main/java/com/example/hello_world/BUILD:16:11: While resolving toolchains for target //src/main/java/com/example/hello_world:hello_world_image.binary: No matching toolchains found for types @bazel_tools//tools/cpp:toolchain_type. [...]
🌍 Your Environment
Operating System:
Output of bazel version:
Rules_docker version:
Anything else relevant?
See also #1988 (comment)
🐞 bug report
Affected Rule
The issue is caused by the rule:
java_imageIs this a regression?
Yes, the previous version in which this bug was not present was: 0.22.0
Description
When building a simple Java Docker image on macOS, the build fails with “No matching toolchains found”. It works on Linux, since the target and host platforms are identical.
🔬 Minimal Reproduction
See https://github.com/eikemeier/java-container
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version:Rules_docker version:
Anything else relevant?
See also #1988 (comment)