Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

ASP.NET layers not flagged as "foreign" #53

Closed
sixeyed opened this issue Oct 4, 2017 · 4 comments
Closed

ASP.NET layers not flagged as "foreign" #53

sixeyed opened this issue Oct 4, 2017 · 4 comments
Assignees

Comments

@sixeyed
Copy link

sixeyed commented Oct 4, 2017

Seeking clarification on this. I build an image based on microsoft/aspnet:3.5-windowsservercore-10.0.14393.1715, tag it and push to a private registry. The two Windows Server base layers are not pushed (they're foreign layers), but the next three layers from the ASP.NET image are pushed. These total 3.7GB:

aspnet-foreign-layers

In the ASP.NET image the 3.5 framework is added from a local CAB, so users can't reproduce those layers for themselves. Should they also be flagged as foreign layers so users aren't pushing them to their own registries?

@shirhatti
Copy link
Contributor

Duly noted and definitely worth exploring.
I'm not familiar with what the guidance is for whether something should be marked as a foreign layer or not. Is this something that's already well defined?

@HongGit
Copy link
Member

HongGit commented May 31, 2018

@richlander any thoughts?

@MichaelSimons
Copy link
Member

My understanding is the Windows OS layers are foreign layers because the Windows licensing requires them to be hosted by Microsoft servers. The .NET products do not have these constraints therefore they are contained in "normal" layers and can be hosted on any registry.

@HongGit
Copy link
Member

HongGit commented Jun 1, 2018

@sixeyed hope this answers your question.

@HongGit HongGit closed this as completed Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants