Create a Dotnet Framework and Node Build Environment in Docker

Story time At the company I currently work for, our CI pipelines run on a dedicated server that we own and manage on premise. This build server is using Atlassian Bamboo and is configured to run the builds using agents running directly inside the host OS which means builds share and depend on components installed on the host OS. This configuration has been working fine for us and we rarely run into issues with it. Last week, however, one of the CI pipelines started to fail suddenly and at the worst time as it was a day before a hard deadline. We didn’t know what went wrong with the build server. We had no idea whether someone made a change to the host OS causing our build to throw this random error and we had no time to fully investigate the issue. ...

October 1, 2019 · 6 min · Me

Dotnet Core Webapi With Mssql in Docker Part 2

In the previous post I showed how to setup a Dotnet Core WebApi project to run inside docker. In part 2, I’ll go over what is needed to containerize an SQL server and connect the WebApi to it. What do you need? This post assumes you have Docker Community Edition installed on your machine. If not, you can grab a copy from here. Containerizing Microsoft SQL Server Thankfully, Microsoft has created a base image for the SQL server which I will be using in this blog post. The image is available on the official docker registry. You can find it here. ...

August 31, 2019 · 8 min · Me

Dotnet Core Webapi With Microsoft SQL Server in Docker - Part 1

I have been hearing a lot of people talking about docker and all of the benefits it introduces and they got me interested in the technology. However, I only recently managed to get some time to play around with Docker. What I attempted to do was to take a DotNet Core WebApi project that I’m building and containerize it. The WebApi project was build initially with no intention of containerizing and it was surprising how easy it is to get it up and running in docker. ...

August 24, 2019 · 7 min · Me