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 @Rafael Grisotto and welcome to the Community!
Pipes are essentially a docker image containing a script to accomplish a given task. All the Atlassian-developed pipes, such as the atlassian/renovate-scan are available in public repositories, which can be forked to make any custom changes you would like.
So in this case, if you would like to change the base image used by that particular pipe, you could fork that repository, make the changes to the Dockerfile in your fork, and then push the custom docker image to your own dockerhub registry.
Once the custom pipe image is pushed and available publicly in Dockerhub, you can refer to it in your pipeline using the following syntax :
It's important to note though, that the renovate slim image might not contain all the dependencies necessary for that pipe's script to run, so you might want to test it to see how it goes with the slim image compared to the full image.
You can also find more details on custom pipes in the Write a pipe for bitbucket pipelines documentation.
However, if you would prefer the official renovate-scan pipe to be changed to use the base image as renovate slim, please let me know so I can create a feature request for our pipe development team.
Thank you, @Rafael Grisotto !
Hi @Patrik S
thank you for your prompt response. Could you please create the feature request?
it's important to note that a slim image has a size that is four-five times smaller, and it's typically essential.
The full size image usually have: 1.46 GB compressed.
The slim size image usually have: 300 MB compressed.
According to the documentation, it's stated that 'slim' is the default option.
THE DEFAULT IMAGE (FORMERLY
The default image only comes with the Node.js environment. Renovate will then install any needed tools when it runs. Read the
binarySource=installdocumentation for more details. We recommend this default image for most users.
Hey @Rafael Grisotto ,
For sure! I went ahead and created the feature request to update atlassian/renovate-scan image to be based on the renovate's slim image :
We encourage you to add your Vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.
Thank you, @Rafael Grisotto !
@Rafael Grisotto hi. Some additional info.
The full image is for users who don't want to download or install things at runtime.
This is very important for us, so, unfortunately, the only way for you to use a slim image, is to create custom pipe as described above.