I've got a Dockerfile that pulls from a base image of microsoft/dotnet:2.0-runtime
. When I do a build locally (on windows running Linux containers) I get a Linux docker image.
however, if we run the same build process on VSTS using a 2017 Hosted agent then we get a windows docker image.
Is it possible to build a Linux docker image on VSTS 2017 Hosted agent without having to use a Linux build agent?