kartoza / docker-geoserver

A docker recipe for GeoServer
GNU General Public License v2.0
628 stars 423 forks source link

Speed up plugin downloads #659

Closed miceg closed 5 months ago

miceg commented 6 months ago

This PR is based on #658, that'll need to be merged first to get a clean diff.

Fixes: #642

This rearchitects the image's plugin and component downloads:

Detailed change list:

There are still some error handling weaknesses in the main image – the proper solution to that would be to use set -e. I'm hesitant to turn that on without further testing, because there may be assumptions in the existing script.

There are still some component downloads in the main image build which could be moved into the plugin downloader (such as GeoServer itself and libjpeg-turbo), but this is still a huge improvement.

NyakudyaA commented 5 months ago

@miceg Are you able to complete this soon? I need to publish the latest bug fix .1 version. If not I will push the new version and we can update this when you get to it

miceg commented 3 months ago

Thanks for finishing that off – I've been stuck in some other work. The changes you made in the final version look good to me. :)