Skip to content

Always single layer? No caching? #612

@julioct

Description

@julioct

I could not find official info on this, so want to confirm:

Do SDK Container Builds always add a single additional layer for my application on top of the base image?

Seems like regardless of me only changing NuGet dependencies, only changing static files, or only changing code, I always get a single new layer in the image, as opposed to multiple layers that could be cached as it would be the case with a Dockerfile.

An example of what I see when inspecting the layers:

Image

I always see a 9th layer there, regardless of any change I make to my ASP.NET Core project.

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