I have modified my Dockerfile to maximize the cache usage, when I run docker build locally the build run as expected using the cache until the 'COPY' command.
But in bitbucket pipelines the first curl command breaks the caching and makes the build time go over 10 minutes.
ps. I am using the docker cache in bitbucket-pipelines
Hi,
Is it possible to provide a copy of your dockerfile for reference so we can see how the layers are being generated, or alternatively a link to the build (raised via a support case).
Kind Regards,
Nathan
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.