Commit graph

112 commits

Author SHA1 Message Date
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: d260f30810

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
Andrew Rabert ca585f12b3
Fix Docker packages (#2499)
* Fix Vaapi Intel packages

https://github.com/jellyfin/jellyfin/issues/1901#issuecomment-593114951

Still need to compile with the packages to verify it builds properly. Arm builds probably need it too.

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile.arm

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Update Dockerfile.arm

* Update Dockerfile.arm

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Update Dockerfile.arm64

* Update Dockerfile.arm

* Update Dockerfile

* shift from curl to git for web install

removed the necessity of curl, tar and package availability and using the source directly

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile.arm

* Update Dockerfile.arm64

* clean up packages and remove unnecessary ARG

* Update Dockerfile

* Update Dockerfile.arm64

* Update Dockerfile

* Update Dockerfile.arm64

* Update Dockerfile

* Update Dockerfile.arm

* Update Dockerfile.arm64

* Explainations

* Update Dockerfile.arm

* Update Dockerfile.arm64
2020-03-05 09:41:14 -05:00
artiume 8acfc264fc
Update dockerfile to install git for new dependency
https://github.com/jellyfin/jellyfin-web/pull/735

I had to install git to get it to build ✌️
2020-02-11 10:29:26 -05:00
Matt 994481213f Add root certificates to docker image 2020-02-01 11:02:44 -05:00
Narfinger c3ff4e0b9f fixes dockerfile building on recent linux installations 2020-01-10 19:42:07 +09:00
Bond_009 c8f403238e Move to .Net Core 3.1 2019-12-06 21:28:47 +01:00
Joshua M. Boniface 84009b534d
Merge pull request #1937 from justinfenn/docker-entrypoint-exec
use exec form for Dockerfile entrypoint
2019-11-17 17:29:55 -05:00