Commit Graph

28 Commits

Author SHA1 Message Date
Thomas Büttner
38ec68c488
use common.build.sh for docker image builds
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-02-24 11:17:39 +01:00
Thomas Büttner
da61998ad6
Build releases without debug
Signed-off-by: Thomas Büttner <thomas@vergesslicher.tech>
2019-02-24 11:00:15 +01:00
Andrew Rabert
69a81c0bc2 Use jellyfin/ffmpeg image 2019-02-20 12:11:50 -05:00
Andrew Rabert
c06598635f Fix cachedir missing from Docker container
Adds the /cache volume and set it to writeable by all. This allows for
those using jellyfin to continue using it without modifying their
config. However, retaining cache will require one to mount the /cache
volume.

Also make the /config and /media dirs 777 by default. No permissions on
mounted volumes will be changed.
2019-02-16 15:25:44 -05:00
Andrew Rabert
d9ab654abe Enhance Dockerfiles
* Prevent failure when obj exists from host compile
* Enhance readability of disposed stages
* Formatting
2019-02-16 01:37:55 -05:00
Andrew Rabert
22ffc5aee4 Use VAAPI-enabled ffmpeg 2019-02-08 00:19:31 -05:00
Sparky
1d94607a30 Fix docker args
After the change to runtime args in #749 docker broke.

This fixes it.
2019-02-02 15:17:59 +01:00
Andrew Rabert
cc3422b96b Use ffmpeg from jrottenberg/ffmpeg
Eventually would like to move to his 4.0-vaapi image
2019-01-26 21:16:43 -05:00
Sparky
9f83ee7b3e Make another docker layer reusable
By moving the apt-get layer before the copies, the apt-get layer can be reused with each build, reducing upload/download needed during updates.

Just a small optimization.
2019-01-25 13:27:12 -05:00
Sparky
d00e43735f Really slim down Docker container
#606 didn't actually run the new commands due to the comments position.

This fixes the comment location.
2019-01-18 10:26:02 -05:00
Sparky
fe4c3fddb4 Slim down docker image
After installing, remove package caches and clean up after installation of stuff.
2019-01-17 18:59:52 -05:00
Erwin de Haan
ae0732136f Merge remote-tracking branch 'upstream/dev' into build-system-consolidation 2019-01-13 23:28:05 +01:00
Andrew Rabert
17c60f46db Fix build 2019-01-13 15:35:15 -05:00
Andrew Rabert
f11a4368bb Reformat args 2019-01-13 15:30:30 -05:00
Erwin de Haan
ba671569b4 Moved main docker file. 2019-01-12 15:54:52 +01:00
Erwin de Haan
399a079dd4 Build scripts and build system consolidation.
Squashed commit.
2019-01-10 19:45:30 +01:00
Andrew Rabert
1c326fe7d4 Download ffmpeg in a separate layer
This slightly speeds up rebuilding since the ffmpeg layer cache is used
even when Jellyfin source is changed.
2019-01-06 22:46:52 -05:00
Andrew Rabert
9f7bebc728 Fix Skia in Docker 2019-01-06 18:05:06 -05:00
Andrew Rabert
e60dc805d6 Remove deprecation warning from Docker 2019-01-06 17:45:50 -05:00
bfayers
227f9da3e5 helps if the arg is within that bit of the dockerfile 2019-01-05 00:41:23 +00:00
bfayers
4c03616aff clean up how extracting tar is done; just put it in /usr/bin instead of symlinks; remove xz-utils after (cleaning up space); all at request of nvllsvm 2019-01-05 00:28:40 +00:00
bfayers
bf61c20408 remove commented apt installs for ffmpeg 2019-01-05 00:19:42 +00:00
bfayers
2961dc0bdd use ffmpeg 4.0.3 instead of distro provided (fixes chromecast + androidtv) 2019-01-04 20:04:58 +00:00
Andrew Rabert
def954e8da Remove PUID and PGUID env vars
Use Docker's built-in `user` option instead.
Ex. `docker run --user 1000:1000 jellyfin/jellyfin`
2018-12-18 20:08:34 -05:00
Andrew Rabert
23ed559bb0 Simplify Docker build
- Remove unnecessary build command (implied in publish)
- Remove unnecessary solution arg
- Move arg to command
2018-12-16 00:40:21 -05:00
Bond-009
9035965014 Fix Dockerfile 2018-12-12 21:43:52 +01:00
Andrew Rabert
13eec38783 Opt out of .NET telemetry 2018-12-11 23:48:41 -05:00
Andrew Rabert
206bc7911c Add jellyfin Docker image 2018-12-10 02:07:15 -05:00