linuxserver / docker-emby

GNU General Public License v3.0
120 stars 40 forks source link

use deb, simplify Dockerfiles #70

Closed aptalca closed 1 year ago

aptalca commented 1 year ago

No need to use a build stage as the amd64 dockerfile doesn't even install any packages from the apt repo anymore, and nothing is being built.

Rpm packages are among the last to be uploaded to upstream's releases and it's sometimes days before they are uploaded.

Debs seem to be one of the first ones, so they get us quicker builds.

Debs also seem to have the necessary gpu drivers like the rpms did. But this build needs some local tests for transcoding and tone mapping before merge.

UPDATE: It needed some jumping through hoops because for some reason the binary in the deb packages expected to be able to write all netcore related things to /tmp but the abc user does not have write access there. Moving the tmp folder elsewhere fixed most of the issues but we still had to fix perms for /tmp/.dotnet/shm because the global mutexes seem to be hardcoded toe xist there (maybe defined build time).

Tested this locally with igpu hw transcode from 4k hevc/hdr to 1080p sdr with tonemapping and everything worked as expected.

LinuxServer-CI commented 1 year ago
I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-0905ac1f-dev-13d0bf8360601f95c089eaa682e081c724277867-pr-70/index.html https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-0905ac1f-dev-13d0bf8360601f95c089eaa682e081c724277867-pr-70/shellcheck-result.xml Tag Passed
amd64-4.7.13.0-pkg-0905ac1f-dev-13d0bf8360601f95c089eaa682e081c724277867-pr-70
arm32v7-4.7.13.0-pkg-0905ac1f-dev-13d0bf8360601f95c089eaa682e081c724277867-pr-70
arm64v8-4.7.13.0-pkg-0905ac1f-dev-13d0bf8360601f95c089eaa682e081c724277867-pr-70
LinuxServer-CI commented 1 year ago
I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-0905ac1f-dev-bcfe5af8e628c78249d59465ded6706c7e214d92-pr-70/index.html https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-0905ac1f-dev-bcfe5af8e628c78249d59465ded6706c7e214d92-pr-70/shellcheck-result.xml Tag Passed
amd64-4.7.13.0-pkg-0905ac1f-dev-bcfe5af8e628c78249d59465ded6706c7e214d92-pr-70
arm32v7-4.7.13.0-pkg-0905ac1f-dev-bcfe5af8e628c78249d59465ded6706c7e214d92-pr-70
arm64v8-4.7.13.0-pkg-0905ac1f-dev-bcfe5af8e628c78249d59465ded6706c7e214d92-pr-70
LinuxServer-CI commented 1 year ago
I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-0905ac1f-dev-5dc95053d82e939e5adecf759b9fcecdbea6a02d-pr-70/index.html https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-0905ac1f-dev-5dc95053d82e939e5adecf759b9fcecdbea6a02d-pr-70/shellcheck-result.xml Tag Passed
amd64-4.7.13.0-pkg-0905ac1f-dev-5dc95053d82e939e5adecf759b9fcecdbea6a02d-pr-70
arm32v7-4.7.13.0-pkg-0905ac1f-dev-5dc95053d82e939e5adecf759b9fcecdbea6a02d-pr-70
arm64v8-4.7.13.0-pkg-0905ac1f-dev-5dc95053d82e939e5adecf759b9fcecdbea6a02d-pr-70
LinuxServer-CI commented 1 year ago
I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-fc417500-dev-5862bbf3fb33cb5513307fce82b07a140e3ebfc0-pr-70/index.html https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-fc417500-dev-5862bbf3fb33cb5513307fce82b07a140e3ebfc0-pr-70/shellcheck-result.xml Tag Passed
amd64-4.7.13.0-pkg-fc417500-dev-5862bbf3fb33cb5513307fce82b07a140e3ebfc0-pr-70
arm32v7-4.7.13.0-pkg-fc417500-dev-5862bbf3fb33cb5513307fce82b07a140e3ebfc0-pr-70
arm64v8-4.7.13.0-pkg-fc417500-dev-5862bbf3fb33cb5513307fce82b07a140e3ebfc0-pr-70
LinuxServer-CI commented 1 year ago
I am a bot, here are the test results for this PR: https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-fc417500-dev-8d28d5ca6352e6b57aae64dda41dad98db6c9495-pr-70/index.html https://ci-tests.linuxserver.io/lspipepr/emby/4.7.13.0-pkg-fc417500-dev-8d28d5ca6352e6b57aae64dda41dad98db6c9495-pr-70/shellcheck-result.xml Tag Passed
amd64-4.7.13.0-pkg-fc417500-dev-8d28d5ca6352e6b57aae64dda41dad98db6c9495-pr-70
arm32v7-4.7.13.0-pkg-fc417500-dev-8d28d5ca6352e6b57aae64dda41dad98db6c9495-pr-70
arm64v8-4.7.13.0-pkg-fc417500-dev-8d28d5ca6352e6b57aae64dda41dad98db6c9495-pr-70