From 5937211bb84153dee37bd9dbeb9c368f8cc752fd Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Sat, 5 Feb 2022 13:41:47 -0600 Subject: [PATCH] disable trimming in docker --- ErsatzTV-Windows/ErsatzTV-Windows.csproj | 1 - docker/Dockerfile | 2 +- docker/nvidia/Dockerfile | 2 +- docker/vaapi/Dockerfile | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ErsatzTV-Windows/ErsatzTV-Windows.csproj b/ErsatzTV-Windows/ErsatzTV-Windows.csproj index 5074cc67b..db3d6b6f6 100644 --- a/ErsatzTV-Windows/ErsatzTV-Windows.csproj +++ b/ErsatzTV-Windows/ErsatzTV-Windows.csproj @@ -8,7 +8,6 @@ true enable Ersatztv.ico - true diff --git a/docker/Dockerfile b/docker/Dockerfile index b610d79b4..2ba38c313 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -29,7 +29,7 @@ COPY ErsatzTV.Core.Tests/. ./ErsatzTV.Core.Tests/ COPY ErsatzTV.Infrastructure/. ./ErsatzTV.Infrastructure/ WORKDIR /source/ErsatzTV ARG INFO_VERSION="unknown" -RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} +RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} /p:PublishTrimmed=false # final stage/image FROM runtime-base diff --git a/docker/nvidia/Dockerfile b/docker/nvidia/Dockerfile index d7a01e91e..645eb5cb4 100644 --- a/docker/nvidia/Dockerfile +++ b/docker/nvidia/Dockerfile @@ -23,7 +23,7 @@ COPY ErsatzTV.Core.Tests/. ./ErsatzTV.Core.Tests/ COPY ErsatzTV.Infrastructure/. ./ErsatzTV.Infrastructure/ WORKDIR /source/ErsatzTV ARG INFO_VERSION="unknown" -RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} +RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} /p:PublishTrimmed=false # final stage/image FROM jasongdove/ffmpeg:5.0-nvidia2004 AS runtime-base diff --git a/docker/vaapi/Dockerfile b/docker/vaapi/Dockerfile index 621529635..41fcf8340 100644 --- a/docker/vaapi/Dockerfile +++ b/docker/vaapi/Dockerfile @@ -23,7 +23,7 @@ COPY ErsatzTV.Core.Tests/. ./ErsatzTV.Core.Tests/ COPY ErsatzTV.Infrastructure/. ./ErsatzTV.Infrastructure/ WORKDIR /source/ErsatzTV ARG INFO_VERSION="unknown" -RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} +RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-restore /p:DebugType=Embedded /p:InformationalVersion=${INFO_VERSION} /p:PublishTrimmed=false # final stage/image FROM jasongdove/ffmpeg:5.0-vaapi2004 AS runtime-base