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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.