jellyfin/fedora
Gauvino a884b1f786
Refactor Dockerfile and build (#10603)
* Fix fedora

* Fix RID Linux

* Fix package and image versions

* Fix buildling and optimize docker images
```

* Removed find obj

* Changed curl command and added gpg

* Added to Contributors

* Removed apt-transport-https package

* Removed RASPI

* Update Intel drivers version

* Update Dockerfile for CentOS, Fedora, and portable deployments

 - Changed Jammy docker image to Built-in Jammy Microsoft .NET SDK image
 - Switched from using "Yum" to "Dnf" for CentOS and Fedora
 - Added "dnf clean all" and "rm -rf /var/cache/dnf" to the end of CentOS and Fedora Dockerfiles
 - Added "apt-get clean", "apt-get autoremove", "rm -rf /var/lib/apt/lists/*" to the end of the Debian/Ubuntu Dockerfiles
 - Added ${DOTNET_VERSION} in every Dockerfile except CentOS/Fedora
 - Removed previous warning comment for dotnet publish build in parallel
 - Arranged package installation

* Re-arranged Dockerfile package installation

* Re-align

* Remove curl

* Remove curl
2024-01-17 18:11:03 -07:00
..
.gitignore
jellyfin-firewalld.xml
jellyfin-selinux-launcher.sh Avoid shell expansion issues (#10211) 2023-09-12 13:09:40 -06:00
jellyfin-server-lowports.conf Put low port privilege into an optional subpackage 2021-11-30 01:18:27 -05:00
jellyfin.env Backport pull request #10454 from jellyfin/release-10.8.z 2023-11-06 15:17:47 -05:00
jellyfin.override.conf Backport pull request #8219 from jellyfin/release-10.8.z 2022-08-13 21:46:35 -04:00
jellyfin.service Fix JELLYFIN_FFMPEG_OPT is not enabled in fedora ExecStart 2023-10-03 15:33:59 +08:00
jellyfin.spec Refactor Dockerfile and build (#10603) 2024-01-17 18:11:03 -07:00
Makefile Merge pull request #7614 from mihawk90/fedora-spec-rework 2022-06-29 01:26:14 -04:00
README.md Refactor Dockerfile and build (#10603) 2024-01-17 18:11:03 -07:00

Jellyfin RPM

Build Fedora Package with docker

Change into this directory cd rpm-package Run the build script ./build-fedora-rpm.sh. Resulting RPM and src.rpm will be in ../../jellyfin-*.rpm

ffmpeg

The RPM package for Fedora/CentOS requires some additional repositories as ffmpeg is not in the main repositories.

# ffmpeg from RPMfusion free
# Fedora
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# CentOS 8
$ sudo dnf localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
# CentOS 9
$ sudo dnf localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-9.noarch.rpm

Building with dotnet

Jellyfin is build with --self-contained so no dotnet required for runtime.

# dotnet required for building the RPM
# Fedora
$ sudo dnf copr enable @dotnet-sig/dotnet
# CentOS 8
$ sudo rpm -Uvh https://packages.microsoft.com/config/rhel/8/packages-microsoft-prod.rpm
# CentOS 9
$ sudo rpm -Uvh https://packages.microsoft.com/config/rhel/9/packages-microsoft-prod.rpm

TODO

  • OpenSUSE