terrestris / docker-geoserver

A basic docker geoserver image with JAI and marlin renderer running on tomcat
22 stars 21 forks source link

Use multistage build #54

Closed hwbllmnn closed 2 years ago

hwbllmnn commented 2 years ago

Reduces the image size from 2.21GB to 1.45GB.

@terrestris/devs Please review.

buehner commented 2 years ago

LGTM

:+1: from me

marcjansen commented 2 years ago

I added another commit (on my fork) which saves an additional ~130 MB.

If you like it, feel free to cherry-pick.

I also had to force push, because I incidentially pushed above commit directly to this branch. Sorry for the inconvenience.

hwbllmnn commented 2 years ago

I added another commit (on my fork) which saves an additional ~130 MB.

If you like it, feel free to cherry-pick.

Done, thanks, the --no-recommends is very useful!