Closed tim-cools closed 8 years ago
@tim-cools, See the known issue for not being able to restore a project located at the root.
Try the following instead
FROM microsoft/dotnet:1.0.0-preview2-sdk
RUN mkdir dotnetapp
WORKDIR dotnetapp
RUN dotnet new
RUN dotnet restore
RUN dotnet run
@MichaelSimons thanks a lot. I was using WORKDIR home
before in my Dockerfile, but stripped it out when looking for another issue.
Steps to reproduce the issue
Expected behavior
An empty app should be created in in the container and the packages restored.
Actual behavior (docker hub)
Actual behavior (local)
The build keeps hanging at the restore.
Additional information
This used to work some days ago as far as I know.