Closed brentarias closed 7 years ago
The microsoft/aspnetcore-build
image gets its SDK from microsoft/dotnet
.
I'm moving this issue to the repo for this image so they can comment on or resolve this discrepancy.
This issue was moved to dotnet/dotnet-docker#291
The Dockerhub image for aspnetcore-build does not contain the ASP.NET Core 1.0 image that it claims to contain. The "tags" page indicates that "1.0" is allegedly one of the tags, but it isn't available.
Steps to reproduce the issue
(e.g. copy your Dockerfile or docker-compose.yml file here)
Expected behavior
"dotnet --version" should output "1.0", or at least a "1.0.x" version.
Actual behavior
"dotnet --version" outputs "1.1.0"
Additional information (e.g. issue happens only occasionally)
I have Docker configured for Windows containers. Allegedly the docker hub image has a aspnet.core 1.0 image, as represented in the following dockerfile:
https://github.com/aspnet/aspnet-docker/blob/master/1.0/nanoserver/sdk/Dockerfile
Output of
dotnet --info
When executed directly on my laptop (not within a continer), then 'dotnet --info" outputs:
Output of
docker info