Skip to content

Update samples to demonstrate use of --mount=type=cache to speed up dotnet restore #2457

Closed as not planned
@MichaelSimons

Description

@MichaelSimons

With the release of Docker 20.10, support has been added for RUN --mount. One scenario for this feature is to provide a means to persist package caches such as NuGet between builds so that even if the layer is invalidated and has to be rebuilt, the cached contents can be reused in order to speed up builds. The .NET Docker Samples should be updated to demonstrate the use of this new feature.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions