Skip to content

Ensure empty layers are written to the index file #20858

Closed
@philwebb

Description

@philwebb

Raised on Gitter:

I noticed that from 2.3.0.M1 to 2.3.0.M4 the behavior has changed slightly. Now, a snapshot layer is not created if the project does not have snapshot dependencies, which is cool, but also complicates the Dockerfile that needs to be created as it needs to know whether the specific application has snapshot dependencies or not. I can no longer use a generic Dockerfile. I can workaround this problem via a Docker COPY trick, but I wondered if this is a “conscious” change.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions