A Docker Multistage Build reduces the complexity of a production image to a minimum. Since it is very easy to build jars from Clojure applications, we can just use an JRE to bring it to production.
Let's create a sample project using the app template with Leiningen:
lein new app foo
cd foo