Use buildkit's cache feature to speed up docker builds.