Skip to content

Fail to build image for Dockerfile with the default image "7.0-focal" #3647

@v-xinda

Description

@v-xinda

OS: All
Build Version: 20221014.1
.NET Version: 7.0.100-rc.2.22477.23

Repro Steps:

  1. Create and open a .NET 7.0 MVC project in VS Code.
  2. Add Docker files to this project (Linux Container) -> Right click the "Dockerfile" file -> Select "Build Image...".
  3. Check whether succeeds to build image of the "Dockerfile" file.

Expect:
Succeed to build image of the "Dockerfile" file.

Actual:
Fail to build image of the "Dockerfile" file.
image

More Info:

  1. This issue only reproduces with the default Docker image "7.0-focal".
  2. This issue does not reproduce with other images "7.0" and "7.0-alpine".
  3. This issue does not reproduce for a .NET 6.0 project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions