It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How Do I Setup Bitbucket Pipeline with a Windows Image Edited

based on https://community.atlassian.com/t5/Bitbucket-questions/How-do-I-create-a-docker-image-for-Bitbucket-Pipelines/qaq-p/334724

 

I am attempting to set up a Bitbucket Pipeline for a Windows image (since we are using IAR embedded workbench as our build environment - https://www.iar.com/iar-embedded-workbench/ )

 

in my bitbucket account, I have pipelines enabled

capture_002.PNG

 

I have a Docker hub account at https://hub.docker.com

 

I have installed docker on my Windows machine

 

I have created, at my local root C:\, a docker directory and created a trivial Dockerfile at  C:\docker 

Capture.PNG

 

 

I used PowerShell and built a docker image

capture_004.PNG

 

I logged into my hub.docker.com account

capture_005.PNG

 

 

I push the image to Docker hub

capture_006.PNG

 

 

I specify the image in my bitbucket-pipelines.ymlcapture_003.PNG

 

The problem is that the build gives me the following error

capture_007.PNG

 

what do I need to do so that the build for this trivial case passes? do I need to switch the  server from linux to Windows? if so, how do I do that from within the Bitbucket environment?

 

 

1 answer

1 accepted

0 votes
Answer accepted

Hi Auden,

As described on Limitations of Bitbucket Pipelines page

For now pipelines does not support building Windows, macOS, or iOS applications (watch the linked issues to receive updates).

You can only run Linux containers, but not windows ones

Kind Regards

Is it planned to integrate this? Until when? Is there an alternative?

Like Koen DHondt likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,051 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you