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.
Thanks,
John
Same question here...
I've added a cache for /var/cache/apt/archives, but it doesn't appear to be working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here; tests requires ffmpeg, they obviously get a nice speedup if a clear way to cache apt-installs was provided! hope to find out soon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.