I have a Dockerfile that runs in the step of my pipeline that builds the docker image before pushing to GCP. Installing the ImageMagick dependencies take over 8 minutes to install on every pipeline run, is there a way to cache this for future builds or any other solution to decrease the build time for this step?
EDIT: SOLVED
Simply adding the docker cache in the pipeline step solved the problem!