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
I have a pipeline that was working until a couple of days ago which was traced to Bitbucket's use of 14.04 (trusty) for the execution environment. Microsoft have provided guidance that major features of the azure-cli packages have deprecated support for legacy versions of Ubuntu and that I should upgrade. Use of Azure tooling is critical to my CI/CD workflow and I am not seeing how I can specify a different Ubuntu version for pipelines to use in bitbucket-pipelines.yml. Please advise how modern versions of Ubuntu can be used in pipelines.
Hello @Bill Craun ,
Thank you for reaching out to Atlassian Community!
I see you have opened an internal ticket with us as well, so just sharing the solution here :
In the bitbucket-pipelines.yml file you can define custom docker images by using the following syntax :
For Ubuntu, in this example, you could define :
This would download the ubuntu image from DockerHub that has the tag for version 22.04. For other available tags you can check Ubuntu's official docker hub page.
Additional details on using public/private images in Bitbucket Pipelines are outlined on Use docker images as Build Environments.
Thank you, @Bill Craun !