Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Add Docker BuildKit Maven caches.#588

Open
KonradHoeffner wants to merge 2 commits intoEBISPOT:devfrom
annosaxfdm:maven-cache
Open

Add Docker BuildKit Maven caches.#588
KonradHoeffner wants to merge 2 commits intoEBISPOT:devfrom
annosaxfdm:maven-cache

Conversation

@KonradHoeffner
Copy link

See #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
Copy link
Author

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

@KonradHoeffner
Copy link
Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants