Re: Smallest Heroku slug size?

2015-10-07 Thread Robin Heggelund Hansen
Thanks. I've added an issue now :) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe f

Re: Smallest Heroku slug size?

2015-10-07 Thread Joe Kutner
Right now you'd either have to create a custom buildpack, which would effectively be the Clojure buildpack[1] minus these few lines of code[2]. Then you'd add a line to remove all the source code and anything that isn't your uberjar from the slug. I'd be willing to add an option to the lein-her

Re: Smallest Heroku slug size?

2015-10-07 Thread Robin Heggelund Hansen
I'm just trying to optimize, so it isn't vital to my app. How do I use the builtin openjdk 7? My app makes no use of Java 8 anyway. onsdag 7. oktober 2015 03.56.26 UTC+2 skrev Joe Kutner følgende: > > The slug will also include the JDK, which is ~50mb compressed. It is > possible to exclude the J

Re: Smallest Heroku slug size?

2015-10-06 Thread Joe Kutner
The slug will also include the JDK, which is ~50mb compressed. It is possible to exclude the JDK and use the cedar-14 stack's JVM, which is currently openjdk7 because that's what Canonical supports. But then you don't get the all the goodness of Java 8, which is probably better for your app tha

Smallest Heroku slug size?

2015-10-06 Thread Robin Heggelund Hansen
A low heroku slug size is good for improving startup of heroku applications. Because of that I've spent some time lately trying to get as small a slug size as possible. I eventually found a plugin called lein-heroku, which allows you to just upload a single uberjar file. When the build system i