Speed of deploy



I have two slow things, when I am deploying my project:

  1. PHP extensions are installed some time with docker-php-ext-install.

  2. PHP composer installation of packages, that my project need.

What is the right way to cache this things and is there a way to do it in CircleCI 2.0?


I would suggest reading the 2.0 cache doc.

For Composer, it looks like the cache directory is here so I would set that directory to be cached in CircleCI.

Docker Layer Caching can help with the Docker image itself.


This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.