-
Notifications
You must be signed in to change notification settings - Fork 18
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
QPDF Installation on Docker #41
Comments
The library should provide you with a detailed list of dependencies to install. I will investigate why it did not happen. For linux: Please also ensure that the OpenSSL library is installed on your system with a version at least 3.0.0. Could you please try the above and let me know if it fixes the problem? Please do NOT install the qpdf package. |
I was able to test quickly in my test project and I can confirm that running the following does resolve this issue as well. RUN apt-get update && apt-get install -y openssl gnutls-bin libjpeg-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* I'll just note that I had to change the Thanks for the direction! |
I also looked at the openssl version after running a container based on the above images the version is Just mentioning again that the base image is the ubuntu based |
Hi,
I was very excited to try out the new features outlined here.
Upgrading to the latest (as of now) nuget package did allow us to get these new features up and running easily on our local dev machines. However, once we deployed to our staging server which runs on docker, we did have issues with missing dependencies so I'm sharing what we did to get this working.
We used the following base image for the runtime (not the build) image.
FROM mcr.microsoft.com/dotnet/aspnet:8.0-noble AS base
We also needed to install the following packages on the runtime image, but we did not spend too much time seeing how to minimize what's being installed.
The first line of this snippet installs the qpdf and its dependencies binaries in the image. The next two lines just cleanup the apt-get disk usage to minimize the image size.
Thanks!
The text was updated successfully, but these errors were encountered: