piraeusdatastore / piraeus

High Available Datastore for Kubernetes
https://piraeus.io/
Apache License 2.0
429 stars 50 forks source link

dockerfiles: switch to using docker buildx bake #187

Closed WanzenBug closed 1 month ago

WanzenBug commented 1 month ago

Using buildx bake, we can unify our build processes, no longer needing ad-hoc loops in makefiles. This also means docker will properly cache the different drbd9-* image stages, as we build for 9.1 and 9.2 versions in parallel, only diverging when we actually download the drbd package.

WanzenBug commented 1 month ago

Apparently still unstable :/

WanzenBug commented 1 month ago

I think https://github.com/piraeusdatastore/piraeus/commit/e3c5ad6a30e21231c85d1c934222f91c68cf7d07 needs more explanation in the commit message why splitting the cache was necessary/what breaks otherwise

done