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
Next: Root
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 :
image: <imagename>
For Ubuntu, in this example, you could define :
image: ubuntu:22.04
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 !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.