mirror of
https://github.com/linuxserver/docker-jellyfin.git
synced 2025-10-27 03:03:38 +09:00
pin dep versions, add log message for device perms
This commit is contained in:
@@ -23,7 +23,7 @@ RUN \
|
|||||||
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
||||||
JELLYFIN="jellyfin"; \
|
JELLYFIN="jellyfin"; \
|
||||||
else \
|
else \
|
||||||
JELLYFIN="jellyfin=${JELLYFIN_RELEASE}"; \
|
JELLYFIN="jellyfin=${JELLYFIN_RELEASE} jellyfin-server=${JELLYFIN_RELEASE} jellyfin-web=${JELLYFIN_RELEASE}"; \
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
@@ -32,8 +32,6 @@ RUN \
|
|||||||
intel-media-va-driver-non-free \
|
intel-media-va-driver-non-free \
|
||||||
${JELLYFIN} \
|
${JELLYFIN} \
|
||||||
jellyfin-ffmpeg \
|
jellyfin-ffmpeg \
|
||||||
jellyfin-server \
|
|
||||||
jellyfin-web \
|
|
||||||
libfontconfig1 \
|
libfontconfig1 \
|
||||||
libfreetype6 \
|
libfreetype6 \
|
||||||
libssl1.1 \
|
libssl1.1 \
|
||||||
|
|||||||
@@ -25,15 +25,13 @@ RUN \
|
|||||||
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
||||||
JELLYFIN="jellyfin"; \
|
JELLYFIN="jellyfin"; \
|
||||||
else \
|
else \
|
||||||
JELLYFIN="jellyfin=${JELLYFIN_RELEASE}"; \
|
JELLYFIN="jellyfin=${JELLYFIN_RELEASE} jellyfin-server=${JELLYFIN_RELEASE} jellyfin-web=${JELLYFIN_RELEASE}"; \
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
at \
|
at \
|
||||||
${JELLYFIN} \
|
${JELLYFIN} \
|
||||||
jellyfin-ffmpeg \
|
jellyfin-ffmpeg \
|
||||||
jellyfin-server \
|
|
||||||
jellyfin-web \
|
|
||||||
libfontconfig1 \
|
libfontconfig1 \
|
||||||
libfreetype6 \
|
libfreetype6 \
|
||||||
libomxil-bellagio0 \
|
libomxil-bellagio0 \
|
||||||
|
|||||||
@@ -25,15 +25,13 @@ RUN \
|
|||||||
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
if [ -z ${JELLYFIN_RELEASE+x} ]; then \
|
||||||
JELLYFIN="jellyfin"; \
|
JELLYFIN="jellyfin"; \
|
||||||
else \
|
else \
|
||||||
JELLYFIN="jellyfin=${JELLYFIN_RELEASE}"; \
|
JELLYFIN="jellyfin=${JELLYFIN_RELEASE} jellyfin-server=${JELLYFIN_RELEASE} jellyfin-web=${JELLYFIN_RELEASE}"; \
|
||||||
fi && \
|
fi && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
at \
|
at \
|
||||||
${JELLYFIN} \
|
${JELLYFIN} \
|
||||||
jellyfin-ffmpeg \
|
jellyfin-ffmpeg \
|
||||||
jellyfin-server \
|
|
||||||
jellyfin-web \
|
|
||||||
libfontconfig1 \
|
libfontconfig1 \
|
||||||
libfreetype6 \
|
libfreetype6 \
|
||||||
libomxil-bellagio0 \
|
libomxil-bellagio0 \
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ This image provides various versions that are available via tags. `latest` tag u
|
|||||||
| Tag | Description |
|
| Tag | Description |
|
||||||
| :----: | --- |
|
| :----: | --- |
|
||||||
| latest | Stable Jellyfin releases - Focal baseimage |
|
| latest | Stable Jellyfin releases - Focal baseimage |
|
||||||
| bionic | Stable Jellyfin releases - Bionic baseimage |
|
| bionic | DEPRECATED, no longer updated - Stable Jellyfin releases - Bionic baseimage |
|
||||||
| nightly | Unstable Jellyfin releases |
|
| nightly | Unstable Jellyfin releases |
|
||||||
|
|
||||||
## Application Setup
|
## Application Setup
|
||||||
@@ -302,7 +302,8 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
|||||||
|
|
||||||
## Versions
|
## Versions
|
||||||
|
|
||||||
* **20.01.21:"** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
|
* **23.06.21:** - Add log message if device permissions are incorrect. Pin jellyfin dependency versions to prevent upstream apt repo issues. Deprecate the `bionic` tag.
|
||||||
|
* **20.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
|
||||||
* **05.01.21:** - Add nvidia.icd file to fix missing tonemapping using Nvidia HW.
|
* **05.01.21:** - Add nvidia.icd file to fix missing tonemapping using Nvidia HW.
|
||||||
* **23.11.20:** - Rebase to Focal, branch off Bionic.
|
* **23.11.20:** - Rebase to Focal, branch off Bionic.
|
||||||
* **22.07.20:** - Install nightly from unstable.
|
* **22.07.20:** - Install nightly from unstable.
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ available_architectures:
|
|||||||
development_versions: true
|
development_versions: true
|
||||||
development_versions_items:
|
development_versions_items:
|
||||||
- { tag: "latest", desc: "Stable Jellyfin releases - Focal baseimage" }
|
- { tag: "latest", desc: "Stable Jellyfin releases - Focal baseimage" }
|
||||||
- { tag: "bionic", desc: "Stable Jellyfin releases - Bionic baseimage" }
|
- { tag: "bionic", desc: "DEPRECATED, no longer updated - Stable Jellyfin releases - Bionic baseimage" }
|
||||||
- { tag: "nightly", desc: "Unstable Jellyfin releases" }
|
- { tag: "nightly", desc: "Unstable Jellyfin releases" }
|
||||||
|
|
||||||
# container parameters
|
# container parameters
|
||||||
@@ -98,7 +98,8 @@ app_setup_block: |
|
|||||||
|
|
||||||
# changelog
|
# changelog
|
||||||
changelogs:
|
changelogs:
|
||||||
- { date: 20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." }
|
- { date: "23.06.21:", desc: "Add log message if device permissions are incorrect. Pin jellyfin dependency versions to prevent upstream apt repo issues. Deprecate the `bionic` tag." }
|
||||||
|
- { date: "20.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." }
|
||||||
- { date: "05.01.21:", desc: "Add nvidia.icd file to fix missing tonemapping using Nvidia HW." }
|
- { date: "05.01.21:", desc: "Add nvidia.icd file to fix missing tonemapping using Nvidia HW." }
|
||||||
- { date: "23.11.20:", desc: "Rebase to Focal, branch off Bionic." }
|
- { date: "23.11.20:", desc: "Rebase to Focal, branch off Bionic." }
|
||||||
- { date: "22.07.20:", desc: "Install nightly from unstable." }
|
- { date: "22.07.20:", desc: "Install nightly from unstable." }
|
||||||
|
|||||||
@@ -13,6 +13,9 @@ do
|
|||||||
groupmod -g "$VIDEO_GID" "$VIDEO_NAME"
|
groupmod -g "$VIDEO_GID" "$VIDEO_NAME"
|
||||||
fi
|
fi
|
||||||
usermod -a -G "$VIDEO_NAME" abc
|
usermod -a -G "$VIDEO_NAME" abc
|
||||||
|
if [ $(stat -c '%A' "${i}" | cut -b 8,9) != "rw" ]; then
|
||||||
|
echo -e "**** The device ${i} does not have group read/write permissions, which might prevent hardware transcode from functioning correctly. To fix it, you can run the following on your docker host: ****\nsudo chmod g+rw ${i}\n"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
export JELLYFIN_DATA_DIR="/config/data" \
|
export \
|
||||||
JELLYFIN_CONFIG_DIR="/config" \
|
JELLYFIN_DATA_DIR="/config/data" \
|
||||||
JELLYFIN_LOG_DIR="/config/log" \
|
JELLYFIN_CONFIG_DIR="/config" \
|
||||||
JELLYFIN_CACHE_DIR="/config/cache" \
|
JELLYFIN_LOG_DIR="/config/log" \
|
||||||
JELLYFIN_WEB_DIR="/usr/share/jellyfin/web"
|
JELLYFIN_CACHE_DIR="/config/cache" \
|
||||||
|
JELLYFIN_WEB_DIR="/usr/share/jellyfin/web"
|
||||||
|
|
||||||
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
|
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
|
||||||
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
|
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
|
||||||
|
|||||||
Reference in New Issue
Block a user