I attempted to setup a Dockerfile that will create a clean instance with Tomcat, and FOAM, and then build FOAM according to what the README.md says to do for Java.
I've attached the shell script I use to invoke docker, a helper script for environment variables, and the Dockerfile. The complete output from the command is in the .log file.
Bottom line: I'm seeing:
[ERROR] /home/x/foam2/build/foam/nanos/tomcat/TomcatRouter.java:[8,30] package javax.websocket.server does not exist
My best guess (as someone who knows almost nothing about Maven and Tomcat) is that Tomcat's code (somewhere under /home/x/apache-tomcat-8.5.24) is not in the classpath.
Anyone at Nanopay have insights on what I'm missing?
//Mark