We’ve been using python:2.7.15-jessie and because of the repeated docker image fetch times (15-20 seconds) we thought about migrating to the CircleCI provided image circleci/python:2.7.15-jessie
Should we expect any performance improvements ?
Is there any way to cache the docker image from being downloaded on every build from DockerHub ?
I succeeded in doing this change, it took some time but we were able to drastically reduce the time it takes to deploy our system using Alpine compared to Jessie
Great! I recommend setting up a separate pipeline for your base image, in which you can run tests, push it to a registry, etc. Your CI is a production system, so the building of your CI images should be in a production pipeline.