This repo contains APIs and MSBuild Tasks for generating an OCI Container from a .NET project, as well as tests for the same.
Getting started with the library in an existing project is as easy as
dotnet add package Microsoft.NET.Build.Containers
dotnet publish --os linux --arch x64 -c Release -p:PublishProfile=DefaultContainer
You can learn more about the project from the project Documentation.
In order to build the project you will need .NET SDK 7.0.100, preview 7 or greater installed.
From there, you can simply dotnet build
the repository and be good to go!
See CONTRIBUTING.md for information on contributing to this project.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.
This project is licensed with the MIT license.
sdk-container-builds is a .NET Foundation project.
You should take a look at these related projects: