I'm getting started with the CI/CD functionality of AWS. To this point, I have been creating my docker image locally on Windows Server 2016, based on the microsoft/windowsservercore image, and manually pushing it to the ECR (amazon container registry).
At this point, I'm not trying to compile the application in CodeBuild. I'm only trying to build the container. Locally, the binaries are in a sub-directory and copied into the container.
The CodeBuild project is failing with an error: image operating system "windows" cannot be used on this platform
I'm pretty sure that's because the build environment is linux based.
Does anyone know if it's possible to create a Custom Build Environment for AWS that would support building a Windows container image?