Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

A cache for custom private pipeline image Edited

Hi,

Is there a way how to cache  a custom private image for pipeline, please?

The custom image is pulled every time and it  increases unnecessarily the build time.

1 answer

0 votes

 

Hi František,

if you are talking about the base image used in your `bitbucket-pipelines.yml` file, then unfortunately there is no way to cache private docker images. This is actually a limitation of the Docker Registry we are using.

Antoine

Hi, Is this still the case? For example, my pipeline looks like the following:

imagepaddymccrudden/latex:ctanfull
caches:  
docker
pipelines:  
default:   
step:        
nameLatex       
script:          
pdflatex main.tex
...

But I don't think that the base image is being cached. 

@Antoine Büsch Is this something that's being worked on? We have private images hosted on AWS ECR and would benefit greatly from these images being cached.

 

Edit: Official feature request: https://jira.atlassian.com/browse/BCLOUD-19918

Like # people like this

@Antoine Büsch Same here, really need this.

Like # people like this

same here, each time to pull my image from aws-ecr i need 20-30 seconds

We also really would like to have this as we rely on custom private Docker base images heavily and at the moment pulling those Docker images from our custom Nexus Docker registry takes around 5 minutes (!) for every build. And yes, we could maybe move to a cloud Docker registry but then we still very much would want to have this.

Has this been implemented now ? Can we cache private images hosted on private registries ?

Not to my knowledge, but it would be nice!

Like Paddy McCrudden likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

442 views 4 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you