SharpDockerizer can automatically build a Dockerfile for your ASP.NET projects using solution data. Simply choose a solution on your PC, choose a project, add required data such as NuGet sources and ports to expose and click Generate Dockerfile
, and your Dockerfile is ready!
- Load .NET solution and parse included projects;
- Crossplatform (Windows, Linux, MacOS);
- Auto-parse project references;
- Generate Dockerfiles for .NET projects;
- Add NuGet repos that are required to build the project (No authorization / basic auth with password passed as docker build argument)
- Detect
NuGet.config
- Localization support
- Template support
You can download SharpDockerizer from GitHub: Releases.
- Git
- .NET 8 SDK
- .NET 8 runtime
- Clone the repository.
- Open terminal in
src/SharpDockerizer.AvaloniaUI
. - Use
dotnet publish --configuration Release
to build the application. Built application will be avaliable insrc/SharpDockerizer.AvaloniaUI/bin/Release/net8.0/publish
folder, executable is namedSharpDockerizer.exe
for Windows and justSharpDockerizer
for other systems. - Launch application.
From here you can rename publish
folder and copy it to preferred location.
SharpDockerizer is distributed under the MIT license.
SharpDockerizer is built using .NET 8 and is split into several parts:
SharpDockerizer.AvaloniaUI
: Avalonia application with MVVM architecture that usesMaterial.Avalonia
styling. Application frontend. MVVM framework isCommunityToolkit.Mvvm
SharpDockerizer.AppLayer
: Contains contracts, services, generators, etc. that are used by GUI to work.SharpDockerizer.Core
: Contains domain models. Doesn't have any dependencies.