We are building a application using Dotnet 2.0 and Docker. We are running the containers in Linux mode. This works well on our local Windows 10 machines with Docker for Windows, and on AWS ECS. Now we are trying to add a CI pipeline to deploy to AWS ECS.
We set this server up using a AWS windows 2016 AMI running on EC2, but we quickly learned that we cannot use Docker for Windows. We can use the AWS Windows with Containers AMI with docker installed, but this does not support Linux containers.
Is there something we can do to get the machine to support Linux containers? We don't actually have to run Linux containers on the machine, we are just using it to build images, upload them to ECR and use ECS-CLI to run containers. Do we just need to move our build server to a linux AMI to support this (most of the team is lighter on Linux knowlege and a GUI is nice on a build/tools server)
Any thoughts? We are using Jenkins as our CI tool. I have seen the hack to get Linux containers running here but I don't want to use a hack on a important server in our development process.