-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Description
Describe the Problem
We need to build images internally using private .NET binaries. We'd like for them to have a similar/identical docker history
output to images that are published from public .NET binaries. We also don't want any secrets to be leaked through docker history
.
Describe the Solution
All .NET binaries should be installed via a separate "installer" stage. We already follow this pattern in some Dockerfiles, so we just need to apply it to the rest of the images. As a bonus, it should simplify the Dockerfile templates a little.
Images
- Linux .NET images - Update Linux .NET images to use an installer stage #6245
- Windows .NET images - Use installer stage for Windows Server Core Dockerfiles #6249
- Appliance images
- .NET Monitor - nothing to do
- .NET Aspire Dashboard - nothing to do
- YARP - nothing to do
Additional Context
Part of https://github.com/dotnet/dotnet-docker-internal/issues/6782. Follow-up to https://github.com/dotnet/dotnet-docker-internal/issues/6844.
Metadata
Metadata
Assignees
Type
Projects
Status
Done