Browse Source

disable trimming in docker

pull/613/head
Jason Dove 4 years ago
parent
commit
5937211bb8
  1. 1
      ErsatzTV-Windows/ErsatzTV-Windows.csproj
  2. 2
      docker/Dockerfile
  3. 2
      docker/nvidia/Dockerfile
  4. 2
      docker/vaapi/Dockerfile

1
ErsatzTV-Windows/ErsatzTV-Windows.csproj

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<ApplicationIcon>Ersatztv.ico</ApplicationIcon>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
<ItemGroup>

2
docker/Dockerfile

@ -29,7 +29,7 @@ COPY ErsatzTV.Core.Tests/. ./ErsatzTV.Core.Tests/ @@ -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

2
docker/nvidia/Dockerfile

@ -23,7 +23,7 @@ COPY ErsatzTV.Core.Tests/. ./ErsatzTV.Core.Tests/ @@ -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

2
docker/vaapi/Dockerfile

@ -23,7 +23,7 @@ COPY ErsatzTV.Core.Tests/. ./ErsatzTV.Core.Tests/ @@ -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

Loading…
Cancel
Save