118 Commits

Author SHA1 Message Date
mat d84a37e1d2 fix(docker): use jellyfin-web 10.11.6+deb12 from jellyfin apt repo
Previous attempt used 10.9.11+1 which does not exist — the bookworm
repo uses +deb12 suffix (e.g. 10.11.6+deb12) and only has >= 10.11.x.
This caused an empty /jellyfin/jellyfin-web/ at runtime, making the
server crash with 'content directory is either invalid or empty'.

Fix: install jellyfin-web=10.11.6+deb12 from the official Jellyfin
bookworm apt repo. Assets land at /usr/share/jellyfin/web/ and are
COPY'd to /jellyfin/jellyfin-web/ in the runtime image.
2026-03-31 22:56:30 -04:00
mat 465b6c5d9e fix(docker): install jellyfin-web 10.9.11 via apt repo into /jellyfin/jellyfin-web
Pulling from jellyfin/jellyfin:10.9.11 multi-stage yielded an empty
/jellyfin/jellyfin-web directory (the official image likely has a different
internal structure). Switch to the official Jellyfin apt repo instead:
  apt-get install jellyfin-web=10.9.11+1
  web assets land at /usr/share/jellyfin/web/
  COPY to /jellyfin/jellyfin-web/ in runtime image

--webdir /jellyfin/jellyfin-web is already in ENTRYPOINT.
2026-03-31 22:56:30 -04:00
mat b975195252 fix(docker): bundle jellyfin-web 10.9.11 from official image into wwwroot
wwwroot/ only contained api-docs (Swagger) — the web client was never bundled.
Add a webclient stage that pulls /jellyfin/jellyfin-web from jellyfin/jellyfin:10.9.11
and copies it to /jellyfin/jellyfin-web in the runtime image.

Pass --webdir /jellyfin/jellyfin-web to the entrypoint so the server serves the UI.
jellyfin-web 10.9.11 is API-compatible with the 10.12.0 server fork.
Update to a matching 10.12.x web client once that release ships upstream.
2026-03-31 22:56:30 -04:00
mat 849f0a06c8 fix(dockerfile): disable TreatWarningsAsErrors for Docker publish step
StyleCop analyzer violations in upstream src/Jellyfin.Extensions/ block
the Docker build when TreatWarningsAsErrors=true (from Directory.Build.props).
Disable for container image builds — StyleCop enforcement is the CI pipeline's
responsibility, not the Dockerfile's.
2026-03-31 22:56:10 -04:00
mat 2e5fb57052 fix(dockerfile): copy BannedSymbols.txt and stylecop.json into build stage
dotnet publish failed with CS2001 because these root-level analyzer config files
were not included in the Docker build context. They are referenced by
Directory.Build.props and required by StyleCop and BannedApiAnalyzers at build
time.
2026-03-31 22:56:10 -04:00
Cody Robibero 78b53a60b4 Remove legacy build utilities (#11162) 2024-03-18 10:42:07 -04:00
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
Bond_009 5fa1b8ac3a Update more Dockerfiles 2023-11-15 22:21:20 +01:00
Bill Thornton 3e10ace985 Update node versions 2023-09-29 10:11:01 -04:00
Bill Thornton b7fe81551f Add manual web builds (#9468) 2023-03-11 10:14:00 -07:00
Brett Petch a230d8f615 fix: swap to jellyfin-ffmpeg5 (#9256) 2023-02-04 21:46:27 -07:00
renovate[bot] 08a43d8039 chore(deps): update mcr.microsoft.com/dotnet/sdk docker tag to v7 (#8686)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-07 17:56:01 +01:00
Jeremy Lin 6441cd9436 Fix Docker healthcheck output
The current healthcheck command results in progress info being output.
Add -f/--fail, -s/--silent, -S/--show-error options to avoid progress
output, but still show error messages if something goes wrong.
2022-10-10 00:03:36 -07:00
Robin Schneider d75c699ad4 Drop transitional package apt-transport-https (#5950) 2022-09-14 01:34:21 +02:00
Joshua M. Boniface c7edf8b565 Backport pull request #8257 from jellyfin/release-10.8.z
Use separate args for dotnet publish commands

Original-merge: d260f308106db648014a0bb3fd1911c838f899ce

Merged-by: Joshua M. Boniface <joshua@boniface.me>

Backported-by: Joshua Boniface <joshua@boniface.me>
2022-08-13 21:46:36 -04:00
Nyanmisaka 10282dc444 Update intel compute runtime to 22.08.22549 2022-02-28 22:50:27 +08:00
Nyanmisaka 3fb3d7159c Update intel compute runtime to 22.05.22297 2022-02-28 21:13:06 +08:00
Cody Robibero a2127a48ef Remove unused docker volumes (#7030) 2022-02-02 23:27:46 +01:00
Marcel b225c3fd3c Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-10-10 17:26:06 +02:00
Marcel f750235933 Added healthcheck url environemnt variable 2021-10-10 15:15:43 +00:00
Marcel 5d11fd68c6 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-10-09 21:41:46 +02:00
Marcel 32d6e7db7c Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-10-09 17:00:20 +02:00
Marcel fe461ff66b Added Docker Healthcheck 2021-10-09 08:25:22 +00:00
Claus Vium c60428f869 Merge pull request #6580 from Artiume/patch-1 2021-10-03 14:04:45 +02:00
Cody Robibero 6fb3ec0319 Disable DOTNET_SYSTEM_GLOBALIZATION_INVARIANT in docker images 2021-09-28 19:09:37 -06:00
Cody Robibero 4fc3de9b75 Fix builds for dotnet6 (#6595)
* Target net6.0

* Use new Enum.TryParse(ReadOnlySpan<char>) overload

* Replace RNGCryptoServiceProvider with RandomNumberGenerator

* ci - target net6.0 (#6594)

* Update deployment for dotnet6

* Use generic 6.0.x preview for CI

* Update direct dotnet download links

Co-authored-by: Bond_009 <bond.009@outlook.com>
2021-09-25 06:21:48 -06:00
artiume 7e8557fec6 Update Docker Image 2021-09-20 08:30:47 -04:00
Fernando Fernández 488e276f01 Fix Dockerfile typos 2021-09-06 17:51:08 +02:00
Mayur Panchal cee884613d Update Intel Compute Runtime Resources 2021-09-06 20:55:00 +10:00
Cody Robibero 33bf8e34d1 Update Dockerfile to use debian:bullseye-slim 2021-08-15 18:57:14 -06:00
Rich Lander 3daf9e5afe Optimize Dockerfiles 2021-08-02 13:15:51 -07:00
Bill Thornton 260782349c Fix web build in dockerfiles 2021-05-05 00:58:12 -04:00
Rich Lander fe54e9ae9d Remove coupling to distro
- The substring `-buster-slim` isn't useful/correct. 
- .NET 6 (from my team) is based exclusively on bullseye.
- If you update just `DOTNET_VERSION` to `6.0`, `docker build` will fail. 
- If the goal is to force using `buster` throughout the Dockerfile, then making `DOTNET_VERSION` configurable isn't correct.
- Context: https://github.com/dotnet/dotnet-docker/blob/main/src/runtime-deps/6.0/bullseye-slim/amd64/Dockerfile#L1

Just saw this as a drive by look at your code. Is intended as helpful context.
2021-04-12 17:16:26 -07:00
Fernando Fernández 8d6713af65 Use npm ci instead of npm i 2021-04-06 17:37:50 +02:00
Fernando Fernández ba958c70d5 (jellyfin-web): Switch to npm 2021-04-06 17:24:01 +02:00
Nyanmisaka 8814d9c5ea Apply suggestions from code review
Co-authored-by: artiume <siderite@gmail.com>
2020-11-28 09:03:45 +08:00
nyanmisaka b26a5e9e20 add NEO OpenCL runtime for Intel Tone mapping 2020-11-27 20:12:47 +08:00
artiume d76afb209f update dotnet 5.0 image
Step 5/23 : FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}-buster as builder                             
manifest for mcr.microsoft.com/dotnet/sdk:5.0-buster not found: manifest unknown: manifest tagged by "5.0-buster" is not found

arm not tested
2020-11-15 18:48:59 -05:00
crobibero 9b7c5cddae Update build ci, dockerfiles to .Net5.0 2020-11-10 10:03:21 -07:00
crobibero 583f47ea28 Remove GenerateDocumentationFile 2020-09-04 07:04:06 -06:00
crobibero 44fb76bbcf include xml docs when publishing 2020-08-29 10:42:12 -06:00
Erik Rigtorp 9cad598059 Fix container image build by installing python 2020-05-15 18:25:43 -07:00
Nyanmisaka 8105494cb5 minor changes 2020-04-09 17:37:57 +08:00
Nyanmisaka 7b2fca96e3 use pre-compiled deb to avoid non-free drivers 2020-04-09 15:43:47 +08:00
ox0spy e0fdf6fa07 Dockerfile: support for non-ASCII characters 2020-03-29 14:05:22 +00:00
dkanada 84c23d6232 Merge pull request #2631 from mark-monteiro/fix-client-build-scripts
Fix Client Build Scripts
2020-03-21 16:39:15 +09:00
Mark Monteiro 589958d13f Add missing trailing slashes 2020-03-20 22:41:58 +01:00
Mark Monteiro 887e9c2020 Remove unnecessary execution of yarn build:production 2020-03-20 11:46:51 +01:00
Mark Monteiro 6894602dab Use 'yarn build:production' instead of 'yarn:build' everywhere 2020-03-20 11:36:21 +01:00
artiume dc2510d5e2 Update docker dependencies for Gulp 2020-03-15 17:56:53 -04:00