The Free Software Media System - Server Backend & API
Apply suggestions from code review
Marcel32d6e7db7c51
diff --git a/Dockerfile b/Dockerfileindex 22041cdc4c..14d807176e 100644--- a/Dockerfile+++ b/Dockerfile@@ -29,7 +29,7 @@ ARG LEVEL_ZERO_VERSION=1.2.20826# Install dependencies:# mesa-va-drivers: needed for AMD VAAPI. Mesa >= 20.1 is required for HEVC transcoding.-# curl: healcheck+# curl: healthcheckRUN apt-get update \&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg wget apt-transport-https curl \&& wget -O - https://repo.jellyfin.org/jellyfin_team.gpg.key | apt-key add - \@@ -88,6 +88,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \- # https://github.com/jellyfin/jellyfin/issues/5760#issuecomment-852297561CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \|| exit 1diff --git a/Dockerfile.arm b/Dockerfile.armindex b80ad2632f..40aa9f1116 100644--- a/Dockerfile.arm+++ b/Dockerfile.arm@@ -25,7 +25,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin-# curl: setup & healcheck+# curl: setup & healthcheckRUN apt-get update \&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg curl && \curl -ks https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add - && \@@ -79,6 +79,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \- # https://github.com/jellyfin/jellyfin/issues/5760#issuecomment-852297561CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \|| exit 1diff --git a/Dockerfile.arm64 b/Dockerfile.arm64index 6ac91ce735..d491e7e1ee 100644--- a/Dockerfile.arm64+++ b/Dockerfile.arm64@@ -70,6 +70,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \"--ffmpeg", "/usr/bin/ffmpeg"]HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \- # https://github.com/jellyfin/jellyfin/issues/5760#issuecomment-852297561CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \|| exit 1