sdk-container-builds
sdk-container-builds copied to clipboard
Libraries and build tooling to create container images from .NET projects using MSBuild
We are changing container defaults for .NET 10, to Ubuntu from Debian, per https://github.com/dotnet/dotnet-docker/discussions/5709. I don't think this change is dramatic, but could result in some subtle differences (and perhaps...
If you run `dotnet publish /t:PublishContainer` on a project that hasn't changed since the last container publish, the SDK will build a new image, even though nothing's changed ## Repro...
Currently `dotnet publish /t:PublishContainer` will fail if you have no network connectivity. If you cannot connect to the remote registry (e.g. `mcr.microsoft.com`, `MYORG.azurecr.io`), the publish process should fall back to...
My docker daemon config: ```json "insecure-registries": [ "dockerhub.shengguanda.com" ], ``` When I publish with command: ```bash dotnet publish -p:PublishProfile=DefaultContainer --os linux --arch x64 -c Release ``` output: ```txt C:\Program Files\dotnet\sdk\8.0.401\Containers\build\Microsoft.NET.Build.Containers.targets(242,5):...
`docker build` has a `--pull` flag that forces reacquisition of manifests and layers - we should enable this behavior as well. The content store is fine for the default case...
The `history` field of the Image Manifest is used as a log of what commands/who made modifications to the image. It's generally added to on a layer-by-layer basis, and if...
Right now, for the most efficient framework-dependent containers, a user has to enter a command like ```shell dotnet publish -c Release --os linux --arch x64 -p:PublishProfile=DefaultContainer ``` manually specifying the...
Specifically, make a way to make it easy to swap in a descriptor for a config into a manifest that includes updating both the digest and the size.
Consider a trivial dockerfile: ```dockerfile FROM mcr.microsoft.com/dotnet/runtime:6.0 COPY TestFile.txt /app/ ``` The layer Docker generates applies an [opaque whiteout](https://github.com/opencontainers/image-spec/blob/7b36cea86235157d78528944cb94c3323ee0905c/layer.md#opaque-whiteout) for the whole `app/` directory: ```sh-session ❯ tar -tf "S:\play\dockercopything\36898d648167f1ac26bc899aa1586cbebb25376d996882f60d8d21b95d0d2ef2\layer.tar" app/...
@mitchdenny reported a hang in the publish tooling when running some container publishing tests on a Windows agent that was configured for Windows containers only but was trying to create...