logoalt Hacker News

cyberaxyesterday at 6:28 PM2 repliesview on HN

Buildkit...

It sounds great in theory, but it JustDoesn'tWork(tm).

Its caching is plain broken, and the overhead of transmitting the entire build state to the remote computer every time is just busywork for most cases. I switched to Podman+buildah as a result, because it uses the previous dead simple Docker layered build system.

If you don't believe me, try to make caching work on Github with multi-stage images. Just have a base image and a couple of other images produced from it and try to use the GHA cache to minimize the amount of pulled data.


Replies

hanikesnyesterday at 7:43 PM

Why would you use the horrible GHA cache and not a much more efficient registry based cache?

show 1 reply
mid-kidyesterday at 6:58 PM

How do you use buildah? with dockerfiles?

I find that buildah is sort of unbearably slow when using dockerfiles...

show 1 reply