Skip to content

Ensure empty layers are written to the index file #20858

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
philwebb opened this issue Apr 7, 2020 · 2 comments
Closed

Ensure empty layers are written to the index file #20858

philwebb opened this issue Apr 7, 2020 · 2 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

philwebb commented Apr 7, 2020

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.

@philwebb philwebb added this to the 2.3.x milestone Apr 7, 2020
@philwebb philwebb self-assigned this Apr 7, 2020
@philwebb philwebb added the type: enhancement A general enhancement label Apr 7, 2020
@philwebb philwebb changed the title Ensure empty layers are still written in the index file Ensure empty layers are written to the index file Apr 7, 2020
@philwebb philwebb modified the milestones: 2.3.x, 2.3.0.RC1 Apr 7, 2020
@nickstolwijk
Copy link

@wilkinsona
Copy link
Member

Yes, it will.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants