How do I create a flashable zip without docker or breakfast?

I built the images using the mka method, as that’s the only way that will actually work. Unfortunately, I don’t have the zip file to flash from TWRP when using that method. How do I make that?

When I try to flash the images manually, system.img always fails in the middle.