Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


How can I specify Ubuntu used for Bitbucket pipeline execution?


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.

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 09, 2023

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

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events