How much time does it consume? If it is more than a minute or two, consider building your environment in Docker, pushing the image to a remote registry, and then pulling the image in CircleCI when you need it. You can set up the exact versions of the tools you want inside your container.
Then, the only time cost is pulling the image, and optionally installing Docker Compose if you decide you need it. I do this in one of my branches, and the pulling of 12 images (total ~650M) takes ~50 sec (so if you have just one, youâd be looking at <15 sec). Installing DC takes another 10 sec.
@halfer that is correct.
After CircleCi 2.0 got stable and fast container based builds we just pull our custom âon-buildâ image that contain all tools in desired version. And we are happy with it several months.
We may close subject as we do not required it anymore.
However CircleCi provide convenient ready to use images and highlight integration with AWS. It could be a good point to have ready to use image that have all desired tools.
It will make life easier and increase happines for others.
Ah great! If you want, you can mark your reply to me just now as the solution - in the footer of your answer there is a tick/checkbox saying âMark as solutionâ or similar.