-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Update to alpine 3.17 breaks several libraries reliant on openSSL 1.1 #1827
Comments
|
The Side note: Please do not symlink openssl 3 as openssl 1.1 ❗🔥
|
Well, that's definitely an easy workaround. However, not the finest, since it essentially breaks the standalone "latest" in favor of newer alpine. I'd love to receive at least a warning that
Works for prisma 🤷 I'm aware it's a weak workaround, but in case of quick fixes it was the easiest one. Downgrading version of node is going to be the second on my list. Regarding the version compatibility, I have no idea what version was installed in previous step ( Perhaps a node package should have openssl-dev installed as a basis, and Prisma should be notified about the fact that they should update their executables to use better version of openSSL / detect installed versions. |
Environment
Expected Behavior
Current node modules that rely on openSSL implementation (like Prisma) to continue working on this setup
Current Behavior
Prisma library complains about corrupted installation and build process.
Possible Solution
Add a line to image that convinces node libraries that everything stays the same, eg.
RUN apk add openssl-dev && cd /usr/lib && ln -s libssl.so libssl.so.1.1 && ln -s libcrypto.so libcrypto.so.1.1 && cd /appSteps to Reproduce
Download nest.js and prisma, run "npx nest build" inside docker container.
Additional Information
Release notes of alpine 3.17
Nest.js instructions for downloading prisma
Error after build (if you use build on host and transfer files to image):
Error during build:
The text was updated successfully, but these errors were encountered: