Replies: 2 comments 2 replies
-
That means that ghotscript was able in your path when you were in a shell in your container. I just asked copilot here if they had an explanation for exit code |
Beta Was this translation helpful? Give feedback.
-
@dlemstra
In the trace log, I saw following
There, it load the Then I create a custom
I guess Magick.NET expects some directories exist so that I can write its embedded |
Beta Was this translation helpful? Give feedback.
-
I use Magick.NET with ghoscript in linux container, working fine. I now try to build a distroless container image. And the same code stops working. There must be something wrong with my new container build, but I haven’t figured out the cause. I'm looking for any hints.
The test code is simple as following
I got the following error when running that code in a container:
In the
RelatedExceptions
, I see followingThen I took the
gs
command printed in the stacktrace and ran it in the container (there are 2-f
arguments in the stacktrace, but I used only one-f
in the gs command below):There was no error, no message on the console. Then I removed the argument
-dQUIET
, I saw following in the console.That means ghostscript ran OK.
Beta Was this translation helpful? Give feedback.
All reactions