Closed ian-r-rose closed 6 years ago
cc @choldgraf
could you give an estimate on how much resource usage goes down? e.g. how long does a repo2docker build take with old vs. new?
Well, with this I don't hit the 2GB memory limit on mybinder, which I believe was the main problem.
I don't consider this to be the complete solution, more of a short-term fix while we try to tame the build a bit.
I'll get back to you on some local estimates for resource usage.
Hm, I am not seeing a huge improvement in the build times (it still takes a long time locally for me, and the webpack step is just one part of that). But I am seeing successful builds on mybinder.org
, which I was not before.
cc @betatim or @yuvipanda or @Carreau , who helped spot-check this before. Think we can un-ban the repository if this patch is implemented?
For what it's worth, on my machine this results in about a 5 minute improvement in time (18 minutes to 13 minutes).
Band-aid for #74. By not uglifying the build we significantly cut down on resource usage in the demo docker images.