Skip to content
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

Trying to build dockerfile on raspberrypi, getting linux-arm-openssl-3.0.x/schema-engine.gz - 404 Not Found #188

Open
guysoft opened this issue Jul 31, 2024 · 2 comments

Comments

@guysoft
Copy link

guysoft commented Jul 31, 2024

Hey,
Getting this and wondering if anyone else got this or has a way around it:

Log;

 > [base  8/12] RUN  npx prisma generate:                                           
#0 5.783 prisma:warn Prisma only officially supports Linux on amd64 (x86_64) and arm64 (aarch64) system architectures. If you are using your own custom Prisma engines, you can ignore this warning, as long as you've compiled the engines for your system architecture "aarch64".                                                                                                 
#0 9.481 Error: Failed to fetch the engine file at https://binaries.prisma.sh/all_commits/23fdc5965b1e05fc54e5f26ed3de66776b93de64/linux-arm-openssl-3.0.x/schema-engine.gz - 404 Not Found
------
failed to solve: process "/bin/sh -c PRISMA_ENGINES_CHECKSUM_IGNORE_MISSING=1 npx prisma generate" did not complete successfully: exit code: 1

@ChristopherJohnston
Copy link
Contributor

ChristopherJohnston commented Aug 1, 2024

Is the raspberry pi operating system running aarch64? The prisma libs do not work in a 32-bit environment so check your OS and the base docker image

@guysoft
Copy link
Author

guysoft commented Aug 1, 2024

It uses a aarch64 kernel in a 32bit userspace.

For now i pulled the pre-built aarch64

ghcr.io/crazy-max/spliit:edge

and setting

platform: linux/arm64

That works.

If i set to build it still does not work using the correct platform argument

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants