Closed daddydrac closed 7 years ago
microsoft/aspnetcore-build:2.0
. See https://github.com/aspnet/aspnet-docker/blob/master/README.aspnetcore-build.md#example-usage for more details.
Closing as this is a question, not a bug, but feel free to continue discussion.
@natemcmaster Why could not use microsoft/dotnet:2.0-sdk
image for build? I'm using that image today. What's the difference?
You could do that too. microsoft/aspnetcore-build offers additions to Microsoft/dotnet:2.0-sdk designed for common web-app scenarios. See https://github.com/aspnet/aspnet-docker/blob/master/2.0/stretch/sdk/Dockerfile
What is the correct Docker file to use for building a REST API from .NET Core 2.0 into a Docker Container?