Skip to content

dotnet/sdk-container-builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.NET SDK Container Building Tools

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.

Prerequisites

.NET 7 SDK or later

Contributing

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

License

This project is licensed with the MIT license.

.NET Foundation

sdk-container-builds is a .NET Foundation project.

Related Projects