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

Docker Bamboo - building and testing Windows-only .Net

Abe Gillespie February 23, 2019

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
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 24, 2019

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!

Abe Gillespie February 25, 2019

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
AUG Leaders

Atlassian Community Events