I'm trying to setup a docker container to run the planuml jar file so that I don't have to install any of the requirements on my Mac book (it's a corporate machine and I am not allowed to use brew or similar sources of app). I have a very simple Dockerfile...
FROM ubuntu:22.04
RUN apt-get update && apt-get install -y openjdk-11-jdk
ADD bin /opt/plantuml
RUN chmod +x /opt/plantuml
WORKDIR /root/work
VOLUME /root/work
CMD /opt/plantuml/run.sh
This is working using Quartz to ship the X output from the docker VM to Mac and all works perfectly, except that when I turn my back for a minute and come back to the screen the plantuml app has stopped. I cannot find anything to indicate what the cause of the error is, and haven't seen any info on how to configure logging for it. I do know that plantuml is returning a return value of 1 rather than 0.
At first I thought it was the version of graphviz that apt is installing which with the latest version of Ubuntu is 2.43. But I have also used the smetana option with the same results.
Is there a way that I can get some (verbose) logging from plantuml so that I can start to diagnose what is wrong with this setup?
Thanks
Damon