juxt

raymcdermott 2017-10-19T15:19:38.000112Z

I know there is a devops channel but I think the folks here might have answers too....

raymcdermott 2017-10-19T15:19:48.000221Z

docker and clojure ..... making uberjars is slow and causes a big layer for every change

raymcdermott 2017-10-19T15:20:08.000496Z

anybody have any better / more efficient ideas or options?

dominicm 2017-10-19T15:44:26.000117Z

Does start-up time matter to you?

dominicm 2017-10-19T15:45:24.000298Z

If docker is your deployment artifact, then it doesn't matter so much to have just your code and .m2 in there

jonpither 2017-10-19T15:59:30.000244Z

what we need is a rsync thing for zip/jar files

jonpither 2017-10-19T15:59:43.000584Z

but I guess JARs could never work like that- its all or nothing

dominicm 2017-10-19T16:03:26.000103Z

you can do binary diffs

jonpither 2017-10-19T16:09:39.000708Z

how would that work with a compressed archive tho

dominicm 2017-10-19T16:12:43.000395Z

I'm presuming some sense of order is preserved. If it's a total jumble then you're screwed.

raymcdermott 2017-10-19T17:36:24.000417Z

@dominicm I like the code only option

raymcdermott 2017-10-19T17:42:55.000605Z

we could have an uberjar for production only

raymcdermott 2017-10-19T18:17:54.000078Z

in a dream world the only diff would be the small jar containing your compiled code

dominicm 2017-10-19T18:19:16.000205Z

Boot does some caching of something in the aot process which apparently gave some speedup.

raymcdermott 2017-10-19T20:00:56.000208Z

that would be quite the win for boot