Using more then 1 image in the BitBucket pipelines

donbavand September 20, 2017

I'm running a pipeline configuration file that contains dotnet core commands i.e dotnet build and also Linux commands i.e sudo apt-get install jq

 

Is there an image available that allows me to run both, or is there a way for me to switch images during build time?

 

1 answer

0 votes
davina
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 1, 2017

Hi Daniel,

You can either

  • build your own docker image that has everything you need pre-installed or
  • use multiple steps (with different images) and artifacts if you need to pass them through the pipeline. See our documentation here.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events