-
Notifications
You must be signed in to change notification settings - Fork 117
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
cargo chef prepare
fails Dockerfile build
#107
Comments
cargo chef prepare
fails Dockerfile build
Are you using the |
I realized that it was a problem with M1. That is solved (thanks to the latest Colima update that gives the ability to pass Unfortunately, I'm getting a new error. If you don't mind @LukeMathWalker I will continue this thread and split accordingly in the end once we (hopefully) get to the bottom of things. This time I get:
It seems like the |
Never seen this I am afraid, not sure it's related to |
I'm having the same problem as above.
|
We, too, are seeing the same error.
|
This reverts commit 8475e1f. Reference: LukeMathWalker/cargo-chef#107 (comment)
This was reported in #136 as well. You have two workarounds:
The sparse-registry should solve this problem for good, but it's not stable yet. |
Recommended workaround from <LukeMathWalker/cargo-chef#107>
Hello,
I'm following the familiar
Zero To Production
book and am facing a problem building a docker image from one of the versions of the Dockerfile. Here it is:Building the image gives me:
I'm running this on a M1 Mac. From searching about the topic it seems like this problem is related to my machine. Still decided to ask since I'm not too familiar with the workings of cargo-chef. I would appreciate any hints!
The text was updated successfully, but these errors were encountered: