EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
95 stars 40 forks source link

Add Docker BuildKit Maven caches. #588

Open KonradHoeffner opened 2 years ago

KonradHoeffner commented 2 years ago

See https://github.com/EBISPOT/OLS/issues/586. Requires Docker BuildKit to be enabled, but with such a massive build time reduction I think that is worth it even if you don't have it enabled yet.

KonradHoeffner commented 2 years ago

For unknown reasons, this works on my local development machine but not on one of our servers, I'm investigating this.

KonradHoeffner commented 2 years ago

Update: The problem could be caused by the cache interfering with parallel builds and or the build fix but I'm not sure. Also, is enough to build all Maven packages once in a separate Dockerfile and then use that.