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

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

Docker Bamboo - building and testing Windows-only .Net

I'd like to run a Bamboo container to build and test locally. The project is .Net 4x, not .Net Core; so it's Windows-only. The Bamboo Docker Image is Linux. I can't see how the Bamboo container can work in this scenario. Is there something I'm missing?

1 answer

1 accepted

0 votes
Answer accepted

Hi Abe,

I am not on the Bamboo team but will try to help.

Just to clarify - are you trying to run Bamboo inside a Docker container?

Or do you want to spin up a Docker container as part of the build-and-test cycle of an existing bamboo server?

If the former, you're right that the provided Docker images are based on ubuntu.

I am neither a Windows nor a Docker expert, but I don't see any reason why you can't create your own Dockerfile to construct your own image that will run bamboo on top of windows.

First you'll need to create a Dockerfile based on windows: https://www.docker.com/products/windows-containers

Then you'll need to create a Dockerfile that does the equivalent to the Bamboo for Windows installation steps: https://confluence.atlassian.com/bamboo/installing-bamboo-on-windows-289276813.html

NB: sometimes the community site does strange things to links.  If you get a 404 for a link please copy-and-paste the link into your browser.

I hope that helps!

Ah, right, good idea. I can use the existing Dockerfile as a place to start. Hopefully the windowsservercore image is an appropriate base image for this.

 

Thanks for the help.

Like Marty likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

671 views 1 6
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