Actually, compared to local machine (MacBook M1 Pro), every layer of build is slow, as DockerHub autobuild takes 13min while local only takes 39s.
But, I found that
- Installing Poetry while building image takes 209.5s
- Installing Python libraries using Poetry takes 170.09s
This is insane as those layers only took 3s and 9s on my local machine. Do you guys have any workaround? I asked about this on “Contact Us”, but couldn’t get a reply after 2 weeks.
Additional notes
- I’m currently using multiarch/qemu-user-static as autobuild does not support ARM64 build natively.
- I ran local build with --no-cache. Yeah, cached autobuild is slower than non-cached local build.
- I’m currently using pro plan (which I regrets).