You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello Atlassian Community,
I have a quick question about caching resources in bitbucket-pipelines.
We're able to cache our pip based resources just fine (thanks btw!) but now we're looking to cache the resources gathered with `apt-get install` as well.
Does anyone know if this is possible? Specifically, we would like to cache `apt-get install -y zip`
Or, if caching `apt-get install`s is not possible, is there a better way to prepare a zip file during a pipeline.
It depends on the base image I guess.
I just cached zip command in node:16 image.
Here is what I did
bash into the docker image locally and run `which zip` to find the zip location. My one is in /usr/bin/zip. Then set up "bitbucet-pipelines.yml" file