license-generator/Dockerfile.build
dtrentin 2ef68dd477 feat: initial LicenseGenerator -- keygen, fingerprint, sign commands
Standalone .NET 4.7.2 console tool for NcProgramManager offline licensing.
- keygen: RSA 2048-bit key pair generation
- fingerprint: WMI machine fingerprint (Windows only)
- sign: RSA-SHA256 sign fingerprint, write .lic file

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 23:33:30 +02:00

8 lines
346 B
Text

FROM mono:6.12
WORKDIR /build
RUN cert-sync /etc/ssl/certs/ca-certificates.crt
COPY LicenseGenerator.csproj ./
RUN nuget restore LicenseGenerator.csproj -NonInteractive 2>/dev/null || true
COPY . .
RUN msbuild LicenseGenerator.csproj /p:Configuration=Release /p:Platform=AnyCPU /v:minimal /nologo
CMD mono bin/Release/LicenseGenerator.exe keygen