by rb808 · 10y ago · 0 comments
We could containerize, but we dont need that right now.
FROM openjdk:8u92-jdk-alpine
COPY file.jar file.jar
CMD java -Duser.timezone=UTC -cp file.jar com.foo
and to stay on-topic, you can run java apps in mesos without a docker wrapper :)Using a container orchestrator for deployment is pretty much better than using a CM tool in every way... and it's certainly better than trying to half-ass one with bash scripts.
If you are all of the above yourself - tings are much easier