Official docker image missing tools.jar?

Nicholas Mucks
 

hello~

We're migrating to the official DITA-OT 3.5 docker image but it looks like it's missing tools.jar:

Unable to locate tools.jar. Expected to find it in /opt/java/openjdk/lib/tools.jar
java.lang.IllegalArgumentException: -c
at org.dita.dost.invoker.ConversionArguments.parse(ConversionArguments.java:159)
at org.dita.dost.invoker.ArgumentParser.processArgs(ArgumentParser.java:123)
at org.dita.dost.invoker.Main.processArgs(Main.java:267)
at org.dita.dost.invoker.Main.startAnt(Main.java:160)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
ERROR: Job failed: exit code 1


This happens whenever we try to publish output using exec mode. It works OK if we use the the shell mode, which is what is described in the documentation, but that won't fit into the existing process as well. 

Has anyone encountered this and maybe found a workaround?  It's this image: docker.pkg.github.com/dita-ot/dita-ot/dita-ot:3.5

Thanks!
Nick

Join main@dita-users.groups.io to automatically receive all group messages.