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
adding pdfcpu as go dependency increases container size in 600mb #460
Comments
Hello! I don't have a good explanation for this but |
Can you investigate further? |
I can build docker container with less than 70MB including pdfcpu as a go library and many more libs. I only include the binary and not the source code in the container which is a common best practice. I don't think this is a issue with pdfcpu but with the way the container is build. |
👍 good news! Is your docker file any different from the one in the repo, if not would you mind sharing yours?
|
@hhrutter I have a very similar Dockerfile but in our usecase pdfcpu is called directly from the go code. Since there is no evidence that pdfcpu greatly inflates binary size / container size this issue is missleading in my opinion and should maybe be closed. If you want to investigate more you can of course keep it open. |
sounds good to me. |
Adding pdfcpu as a dependency increases 600MB to container size. Is this exepected/known?
The text was updated successfully, but these errors were encountered: