dockerfile update after dotnet-migrate #611

Closed
opened 2025-08-09 17:16:57 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @ranbuch on 7/4/2017

After migrating as described in this https://docs.microsoft.com/he-il/dotnet/core/tools/dotnet-migrate the Dockerfile has to be updated accordingly.

I've changed this:

FROM microsoft/dotnet:1.0.5-runtime

to this:

FROM microsoft/dotnet:1.1.0-sdk-projectjson

but this line:

COPY project.json .

is generating an error - there is no project.json file after the migration.

Can you provide an example to a valid Dockerfile for microsoft/dotnet:1.1.0-sdk-projectjson?

Thank you.

*Originally created by @ranbuch on 7/4/2017* After migrating as described in this [https://docs.microsoft.com/he-il/dotnet/core/tools/dotnet-migrate](url) the Dockerfile has to be updated accordingly. I've changed this: ``` FROM microsoft/dotnet:1.0.5-runtime ``` to this: ``` FROM microsoft/dotnet:1.1.0-sdk-projectjson ``` but this line: ``` COPY project.json . ``` is generating an error - there is no ```project.json``` file after the migration. Can you provide an example to a valid Dockerfile for ```microsoft/dotnet:1.1.0-sdk-projectjson```? Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#611
No description provided.