-
Notifications
You must be signed in to change notification settings - Fork 691
py_binary stops working after adding rules_docker dependencies #2075
Comments
Ok, so if I run the build with
But if I call
Also I can confirm that this works without problems on a Ubuntu 18.04 , x86_64. |
Also ran into the same error this morning after upgrading from
I also tested against macOS 11.6.5 on an intel CPU Command I'm running (with the actual target anonymized)
Bazel version
Tried both of these docker rules versions and got the same error before rolling back to 0.22.0 where I don't hit this error:
|
For what is worth, I did test this with What it seems to work in my case is adding a newer version of in
|
I also am facing with this issue (M1), bazel 5.1.1 , rules_docker-0.24.0 and go_register_toolchains(version = "1.18").
|
This issue has been automatically marked as stale because it has not had any activity for 180 days. It will be closed if no further activity occurs in 30 days. |
This issue was automatically closed because it went 30 days without a reply since it was labeled "Can Close?" |
🐞 bug report
Affected Rule
The issue is caused by the function:If I call
container_deps
suddently all mypy_binary
rules stop working.Is this a regression?
Don't think soDescription
I have a repo with multiple binaries being built. Some of them are python using the
py_binary
rule. If I introduce the boilerplate to addrules_docker
in theWORKSPACE
file, thepy_binary
targets can't be built.🔬 Minimal Reproduction
See a minimal example here: https://github.com/chaosct/error_py_binary_rules_docker
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_docker version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: