Report this

What is the reason for this report?

Docker build too slow in App Platform - does the speed depend on the App resources used?

Posted on October 20, 2020

Building Docker containers is very slow. Could you clarify if the resources allocated to build Docker containers somehow depend on the overall App “budget”, or is it going to be of that speed no matter how big the App is?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @ReWild,

Build performance is an area we’re actively working on. We have a few improvements on the way—some planned and some already in progress.

As for Docker builds, we do cache layers between builds of the same component. If you’re only changing the RUN command at the end of the Dockerfile, previous layers should be re-used from the cache.

If this is not the case, please open a support ticket so we can look at your app’s build logs specifically and figure out what’s happening!

To answer your initial question, the same resources are allocated for each build.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.