docker-tools
docker-tools copied to clipboard
This is a repo to house some common tools for our various docker repos.
The ACR cleanup pipeline is [configured](https://github.com/dotnet/docker-tools/blob/7d5c35e09f19bd7b3b333aa7065c0d0d9e4bd9e3/eng/pipelines/cleanup-acr-images.yml#L41-L45) to prune dangling images in the `mirror` repo. The problem is that many of the mirrored tags are multi-arch tags because that is what...
This is part of a set of phases outlined by https://github.com/dotnet/docker-tools/issues/186. This phase would optimize the build for cases where a particular build job would end up not producing any...
The various pipelines that exist for the .NET Docker builds have a lot of parameters that are not described. They rely on tribal/historical knowledge held by the repo maintainers. This...
Currently the logic in `CopyAcrImagesCommand` enumerates the contents of the manifest and correlates that data with the contents of the image info to determine what tags should be published. This...
**Example failure:** ``` System.IO.FileNotFoundException: Path specified in manifest file does not exist. File name: 'src/aspnet/5.0/nanoserver-2004/amd64/Dockerfile' at Microsoft.DotNet.ImageBuilder.ViewModel.ModelExtensions.ValidateFileReference(String path, String manifestDirectory) in /image-builder/src/ViewModel/ModelExtensions.cs:line 98 at Microsoft.DotNet.ImageBuilder.ViewModel.ModelExtensions.ValidateImage(Image image, String manifestDirectory) in /image-builder/src/ViewModel/ModelExtensions.cs:line...
There are times when a complex feature in Image Builder and/or the common infrastructure that needs to be iterated on until completion. Each time a change is made to the...
There have been times when users need to exclude images from a build. This typically happens when there is a regression triggered by an external dependency ([example](https://github.com/dotnet/dotnet-buildtools-prereqs-docker/pull/363)). The current workflow...
As a result of the changes from https://github.com/dotnet/docker-tools/issues/486 and https://github.com/dotnet/core-eng/issues/10097, all of the build agents being used by our builds now have PowerShell Core installed. This means we can take...
The `build` command pushes _all_ tags of the images it built to the specified staging location. This is unnecessary and incorrect because some of those tags may be multi-arch. Given...
Currently Image Builder updates readmes and tag YAML files in the mcrdocs repo with a direct commit. There was recently a case where such a commit introduce duplicate tag references...