hey, trying to run prisma in a docker container on...
# orm-help
c
hey, trying to run prisma in a docker container on an m1 and getting “Error: Unknown binaryTarget linux-arm-openssl-undefined and no custom binaries were provided” — I feel like I don’t understand the open issue, because it seems like there’s probably a way to get this working somehow, just with custom binaries… does anyone have any recommended reading that’ll point me in the right direction for this?
to put it another way, why does my underlying system matter, shouldn’t the container be the relevant distribution?
which is node:10-alpine
hm, I think I just need to spend a little time with this, sorry to bother
r
@Charles Ponti 👋 There’s a request here for the same and currently waiting on Rust’s end for this to be implemented 🙂
👍 1
c
I ended up fixing my problem by switching to
node:dubnium-slim
from whatever the alpine version was, for any archeologists running into the same issue.
🕵️ 3
👍 4
b
is anyone else still struggling with this? I am seeing the same error when trying to run
docker-compose build
t
@Ryan I'm not really sure where the problem lies or whether it's supposed to be fixed now (based on the issue being closed). Just switched to M1
Okay, got it: had to set either
Copy code
DOCKER_DEFAULT_PLATFORM=linux/amd64
or
FROM --platform=linux/amd64 node:14.17-alpine
Reason is that I need that image for ECS, so in linux-amd64 format, built from M1