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
OpenSSL on Node Alpine still not working after Prisma 4.8.0 on an ARM machine #16963
Comments
i can "fix it" if i do |
Thank you for taking the time to report the issue, and sorry for the confusion. Unfortunately the behaviour you are facing is currently expected and it is a completely different issue than what was fixed in 4.8.0. This issue is a duplicate of #8478, so I'm going to go ahead and close it to keep the backlog cleaner. I can't provide any timeline about when we will officially support Alpine Linux on ARM, but this is something we keep in mind and want to fix. For now your options are:
Out of these options, only (1) and (2) are guaranteed to work, and (2) is the easiest. Option (3), as you already noticed, is also easy, but comes with an extreme performance and memory cost, and might not work for complex applications. It is usually acceptable for local development (especially on M1 Pro, less so on base M1 models), but absolutely out of question if you deploy on ARM servers of course. If this works for you, then it's a reasonable workaround for now, but if it doesn't, it is also understandable. Please keep an eye on the linked issue, we will post any updates about support for Alpine on ARM there. |
@aqrln if i use option (3) does it still attempt to emulate when deploying to a prod machine that's already on x84_64 ? ie, can i reuse this same dockerfile for prod? |
@Geczy you can reuse it in production, no emulation will happen if the specified platform matches the machine the container is running on. (Besides, Docker on Linux doesn't even have the ability to emulate different CPU architectures out of the box, you would need to use something like https://github.com/multiarch/qemu-user-static if you wanted that). If you want to avoid modifying the Dockerfile, you can pass |
ty for your help! you've been great |
Is there ETA for alpine ARM support @aqrln. Ik we can build from source but I wonder whats the hurdle is to provide binary for M1 ARM? |
ARM support for Alpine will be released in Prisma 4.10.0 tomorrow |
Bug description
unfortunately still having this issue on macbook m1 and building on docker with node alpine @jkomyno
https://github.com/dotabod/backend/blob/master/web/Dockerfile
https://github.com/dotabod/backend/blob/master/docker-compose.yml
https://github.com/dotabod/backend/blob/master/twitch-chat-listener/prisma/mongo.prisma
How to reproduce
Run docker compose up from https://github.com/dotabod/backend
Expected behavior
Should work !
Prisma information
https://github.com/dotabod/backend/blob/master/twitch-chat-listener/prisma/mongo.prisma
Environment & setup
Prisma Version
this is from my host not my docker container
The text was updated successfully, but these errors were encountered: