|
|
|
|
|
by throwawaylala1
1335 days ago
|
|
> Also, since you’re probably deploying containers to production, it’s useful to have a similar environment for local development so that you know what will actually happen in production. This such a complete and utter lie and I'm surprised people in 2022 still believe it. You do know what's happening when you run Docker on your Macbook, right? Right? |
|
I used Docker to run the application using the exact same image that was deployed to production, and was able to replicate the issue.
Why? Because the PDF renderer depended on loads of finicky dependencies (e.g. linked libraries), and it turns out that the default fonts in our base image didn’t support the Unicode code points in the example payload. I couldn’t replicate this outside of Docker because I have a completely different set of linked libraries and don’t stack.
Happy to answer any questions you have.