Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,008
Community Members
 
Community Events
168
Community Groups

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 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

317 views 0 7
Read article

Atlassian Community Events