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

Add Docker BuildKit Maven caches. #588

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

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