Adds bundled plugin trust and cross-platform native deployment

- embeds the append-only historical and deny trust lists in the API and marks matching bundled plugins as Official without blocking loading
- builds and records the current plugin manifest only for official release builds
- deploys the PDF native libraries for the supported Linux, macOS and Windows runtimes from the plugin dependency manifest
- records release hashes by appending only missing entries to master's manifest and rejects any diff that removes a line
- documents the release flow, the supported runtimes and the plugin installer limits
This commit is contained in:
BinaryAlley committed 2026-11-28 18:00:00 +02:00
1 parent 3fb8912c7f
commit b30cbd6b9e
114 files changed
+2708 -243

No files matched your search

+12 -9
View File
@@ -11,22 +11,25 @@ EXPOSE 5012
# ==== Stage 1: Build stage
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:10.0.100 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
# Restore NuGet packages (keeping this section separate from the rest of the project files allows Docker to cache the restored packages).
COPY ["AssemblyInfo_Shared.cs", "."]
COPY ["Nemera.Presentation.Web/Nemera.Presentation.Web.csproj", "Nemera.Presentation.Web/"]
COPY ["Directory.Build.props", "."]
COPY ["Directory.Packages.props", "."]
COPY ["global.json", "."]
COPY ["src/AssemblyInfo_Shared.cs", "src/"]
COPY ["src/Directory.Build.props", "src/"]
COPY ["src/Nemera.Presentation.Web/Nemera.Presentation.Web.csproj", "src/Nemera.Presentation.Web/"]
RUN dotnet restore "./Nemera.Presentation.Web/Nemera.Presentation.Web.csproj" /p:BaseOutputPath=/app/publish/
RUN dotnet restore "./src/Nemera.Presentation.Web/Nemera.Presentation.Web.csproj" /p:BaseOutputPath=/app/publish/
# Build the project.
COPY ["Nemera.Presentation.Web/", "Nemera.Presentation.Web/"]
COPY . .
WORKDIR /src/Nemera.Presentation.Web
COPY ["src/", "src/"]
WORKDIR /src/src/Nemera.Presentation.Web
RUN dotnet build "./Nemera.Presentation.Web.csproj" -c $BUILD_CONFIGURATION -o /app/build /p:BaseOutputPath=/app/publish/
@@ -43,7 +46,7 @@ FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
COPY --from=publish --chown=app:app /app/publish .
# The HTTP port is controlled per run mode: launchSettings.json for local development, ASPNETCORE_HTTP_PORTS here for
# Docker, and for a published DLL run directly on a host, ASPNETCORE_URLS (or ASPNETCORE_HTTP_PORTS) must be set.
ENV ASPNETCORE_HTTP_PORTS=5012
@@ -51,4 +54,4 @@ EXPOSE 5012
ENTRYPOINT ["dotnet", "Nemera.Presentation.Web.dll"]
# To build this Docker image, run the following command from the root of the project (location of the .slnx solution file):
# docker build --no-cache -t nemera-web -f Nemera.Presentation.Web/Dockerfile .
# docker build --no-cache -t nemera-web -f src/Nemera.Presentation.Web/Dockerfile .