Skip to content

docker new .netcore issues #264

@RonakThakkar

Description

@RonakThakkar

There are several issues.

  1. docker new .netcore uses old asp.net core image FROM microsoft/aspnetcore:1. It should use new image as FROM microsoft/aspnetcore:2.0

  2. dockerfile should be created using multi stage as shown in below link
    https://docs.docker.com/engine/examples/dotnetcore/#create-a-dockerfile-for-an-aspnet-core-application

  3. dockerfile should have different content and base image for .NET Core Console and .NET Core ASP.NET Web API. Right not it creates same for both types of projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions