Hi clojurians, I just created a Leiningen plugin that creates custom Java Runtime Environment based on you configuration. The custom JRE can be as small as 29MB, and it's fully capable to run a Ring web app.
With this plugin: 0. You can test your Clojure application against the custom JRE; 1. You can distribute your Clojure application with runtime attached and don't have to assume your user has JRE installed; 2. You can create minimal Docker image for your Clojure service, it takes less than 50MB at minimal setup, comparing to others can be 350MB+; 3. You discover. The plugin is here: https://github.com/sunng87/lein-jlink I have a blog post about it: https://sunng.info/blog/custom-jre-for-clojure-app-distribution.html And I'd like to hear your ideas about it. Don't forget it requires JDK9 or 10. Because jlink is a feature introduced in JDK9. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
