This project consists of APIs and MSBuild Tasks for generating and testing an OCI Container from a .NET project.
A basic start with tooling
- for existing web project (the package is part of `Microsoft.NET.SDK.Web):
dotnet publish --os linux --arch x64 -t:PublishContainer
- for existing non-web project:
dotnet add package Microsoft.NET.Build.Containers
dotnet publish --os linux --arch x64 -c Release /t:PublishContainer
You can learn more about the project from the project Documentation.
.NET 7 SDK or later
This repo only contains documentation and issues for the project.
The source code was moved to dotnet/sdk repo. For easiness, please use containers.slnf filter in case the intention is only to build and debug containers source code.
If you would like to contribute by creating a pull request, please refer to dotnet/sdk contributing guide. Ideally, prior starting the effort find a corresponding issue in this repo and let us and others know in a comment. If you plan to address the problem that is not reflected in any issue, please create one. Consider helping us triaging the pull request by adding 'Area-Containers' repo.
Development documentation is available here
This project is licensed with the MIT license.
sdk-container-builds is a .NET Foundation project.