sdk-container-builds
sdk-container-builds copied to clipboard
Libraries and build tooling to create container images from .NET projects using MSBuild
#37072 was merged to allow you to run `dotnet publish /t:ContainerPublish` against a solution and have it ignore projects in which SDK Container Publishing was not enabled. Whilt this works...
We should cover common CI/CD system workflows in an aim to make it easier, faster, and more secure to build containers in CI/CD systems. Today, we cover the following workflows:...
Docker BuildKit supports [reproducible builds](https://docs.docker.com/build/ci/github-actions/reproducible-builds/) by setting the env var `SOURCE_DATE_EPOCH=0` It appears the [OCI default labels](https://github.com/dotnet/sdk-container-builds/issues/96) does not respect this value, This is a nice tool for teams to...
It's very common for users to need containers that we don't provide out of the box, for example to include other native dependencies. Today, users have to create an image,...
When I push multiple images, I receive a `PreconditionFailed `error. Can you add` --skip-duplicate `option like [nuget ](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-push)to treat the error as a warning so that other image packages can...
Update https://github.com/dotnet/sdk-container-builds/blob/main/docs/RegistryAuthentication.md#using-insecure-registries with the changes from https://github.com/dotnet/sdk/pull/41506: * `SDK_CONTAINER_INSECURE_REGISTRIES` env var with a comma-separated list of domains to treat as insecure * description of what insecure means: HTTP supported when...
This is a sample blazor app i didn't even edited a character and that also happen why > dotnet publish "C:\Users\Administrator\source\repos\BlazorApp29\BlazorApp29\BlazorApp29.csproj" -p:PublishProfile="DefaultContainer" -p:PublishSingleFile="true" -p:PublishTrimmed="false" --self-contained "true" --verbosity "quiet" --nologo -r...
Repro Steps: - In Visual Studio on Windows 11, create a new solution/project from the `ASP.NET Core Web API` template - Select the options shown in the below screenshot -...
I've started getting a bunch of connection aborted errors with our container publishing tasks today. I expect this is due to something on my company's firewall, however the error logs...
Hey! I use a .proj file in the root (generated by dotnet-affected tooling) to build and publish the affected projects in my tree. I'm now exploring the PublishContainer target for...