Commit Graph

92 Commits

Author SHA1 Message Date
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
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
Steve Hayles
b1e65c6cd4
Adding OpenSSL library
Depending on configuration the docker container may need OpenSSL to support https access
2019-10-28 08:22:59 +00:00
Steve Hayles
26ce62d318
Update Dockerfile
debian-stretch packages were missing for libva-drm2 so would not build

the base image mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION} is incorrectly referencing .NET Core 3-preview6 which will cause issues at runtime with library references being mismatched
2019-10-27 20:22:17 +00:00
Justin Fenn
435c30aed9 use exec form for Dockerfile entrypoint
This causes the jellyfin process to be pid 1 in the container.  It can
receive signals like SIGTERM (from "docker stop", for example) and shut
down properly.
2019-10-27 12:28:56 -07:00
Bond_009
f1167ace7e Use the correct dotnet runtime in Docker images
The self contained packages already contains the dotnet runtime
No need to use the dotnet runtime base image.

This should decrease the size of the image.
2019-10-25 18:04:01 +02:00
Andrew Rabert
4ace99ad76 Fix Docker ffmpeg 2019-10-19 21:01:01 -04:00
Andrew Rabert
64eca9e1c7 Update Docker containers to dotnet 3.0 2019-10-19 19:36:56 -04:00
Andrew Rabert
cd3c14961f Default to jellyfin-web master 2019-10-19 19:32:19 -04:00
Joshua Boniface
fffc5e3a6f Bump version to 10.5.0 for next stable release 2019-10-11 20:12:52 -04:00
Joshua Boniface
abde7c0242 Make the comment nicer 2019-10-05 18:38:55 -04:00
Joshua Boniface
762d17c3df Move copy steps further so they're not overwriting 2019-10-05 18:24:38 -04:00
Joshua M. Boniface
75b7c9ac36 Do explicit dotnet publish in Dockerfiles (#1801)
The common.build.sh script was removed in #1793 but the Dockerfiles
still used this to perform the dotnet publish. Remove that call and do
the publish explicitly.
2019-09-27 23:02:18 -04:00
Erwin de Haan
0ca0d9d01e Remove submodule and add clone and build to CI 2019-09-24 16:22:26 +02:00
nevado
cb32bf1c4f Add mesa-va-drivers to main Dockerfile (#1727) 2019-09-15 00:31:13 -04:00
Andrew Rabert
03f32978c0 Docker - Build jellyfin-web 2019-09-12 18:24:09 -04:00
Joshua M. Boniface
2aecc3fa1b
Merge pull request #1699 from joshuaboniface/bump-version
Bump version to 10.4.0
2019-09-02 20:03:31 -04:00
Andrew Rabert
11346c000e Fix default build arg 2019-09-02 15:13:08 -04:00
Joshua Boniface
742102b541 Bump version to 10.4.0 2019-08-31 21:39:10 -04:00
Andrew Rabert
1c4755f26a docker - make ffmpeg version configurable 2019-08-31 13:26:13 -04:00
Andrew Rabert
da01376294 Fix Docker build 2019-08-06 23:57:39 -04:00
Andrew Rabert
358665d944 Docker - make web version more configurable
This allows for building against jellyfin-web master. Ex.

docker build . --build-arg JELLYFIN_WEB_VERSION=master
2019-08-01 01:03:52 -04:00