New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plane-drone docker container error in M1 Mac #254
Comments
Thanks for tracking this down. Yes, it looks like notify is the issue here. I’ll have an attempt at reproducing this tomorrow and see if it’s an easy fix. |
I made this change below in certs.rs and rebuilt the drone docker image in Ubuntu20 and now I can use that image on a M1 Mac
|
Thanks Harish. While looking into this I found that M1 builds have gotten very slow so I made this change in an attempt to fix it, I'll revisit this once I have a chance to see if my change worked. |
I think the root of this issue was that we started using our own build image (to enable build caching), and we were not building an arm64 version of that image. Docker for Mac could run the image through amd64 emulation, but the emulation layer did not implement the filesystem polling APIs that the container expected. This PR added an arm64 build to the build image, which works for me. Can you try this and confirm if it works for you? (In a git branch that doesn't have your
|
This works - thanks @paulgb !! |
Thanks for filing and for confirming, Harish! |
Hi
I'm seeing this error when I try to run the sample-config
Any workaround? Seems like a rust / docker / M1 Mac issue - https://docs.rs/notify/latest/notify/
The text was updated successfully, but these errors were encountered: