-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Prisma generate started throwing that libssl.so.3 is missing (alpine 3.14, node 14) #9624
Comments
I am having just the same issue, I am running a build pipeline on Google Cloud Run that executes npx prisma migrate deploy in one of the steps, suddenly the build stopped working (with the error you mentioned) Prisma version: Docker Image: |
Same here. All builds stopped working today |
As a workaround, you can use node:lts-bullseye-slim or a similar variant. This base image works. |
I have the same issue, I tried inside the docker container and got this error
Prisma : |
I've also solved the issue by using a different Node image tag on my Dockerfile FROM configuration. I've replaced node:14.16.1-alpine3.10 by node:14.16.1 |
|
I can confirm this regression. Looks like we might need to adjust our build image in our build pipeline. |
Retro: We have all our build images in one repo. For our alpine builds, we've been using I now created a new image with Thanks for reporting. |
Also, while we are working on fixing this, it looks like binary version of the engine is not affected by this so you can use that as a workaround for now: generator client {
provider = "prisma-client-js"
engineType = "binary"
} You might also need to set the following environment variables:
Run |
This is now fixed in the latest version: |
Thank you! 🎉 |
Bug description
Prisma generate script started throwing "Error loading shared library libssl.so.3" on Alpine Linux with prisma version 3.2.0. It is working properly with 3.1.1.
How to reproduce
Create a folder with two files:
Dockerfile
prisma.schema
Dockerfile
fileprisma.schema
fileWhen you run
docker build -t testing .
you will get:Expected behavior
It should be able to execute
prisma generate
without error.Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: