Previously I wrote about having a Docker container with .NET Core 1 and 2 specifically to run a build with Cake on Circle CI 2.0. This was because Cake had been only able to run on .NET Core 1 while the rest of the .NET Core world had moved on to 2. I’m happy to say this is no longer the case.
Now my CircleCI 2.0 uses the official Microsoft build .NET Core 2.0 SDK container with a small addition:
unzip. Maybe I’ll figure out how to drop this too one day:
version: 2 jobs: build: docker: - image: microsoft/dotnet:2.0.5-sdk-2.1.4 steps: - checkout - run: name: Install unzip command: | apt-get update apt-get install -y unzip - run: name: Build command: ./build.sh
It’s nice to be simple and rely on other people to maintain stuff for you instead of making my own container.