diff options
author | Uruk <uruknarb20@gmail.com> | 2024-02-23 18:24:32 +0100 |
---|---|---|
committer | Uruk <uruknarb20@gmail.com> | 2024-02-23 18:24:32 +0100 |
commit | 76a60266d1f05fc78a7607e3dbca68ca8615d8a3 (patch) | |
tree | 31bfa2b8bdd2af286c24a9e17c40b5ffad89e081 /docker/Dockerfile | |
parent | Refactor jellyfin-packaging (diff) | |
download | jellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.tar.gz jellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.tar.bz2 jellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.zip |
Apply suggestions
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index fa0054a..771ad18 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,9 +38,18 @@ ARG JELLYFIN_VERSION ENV JELLYFIN_VERSION=${JELLYFIN_VERSION} RUN apk add \ - autoconf g++ make libpng-dev \ - gifsicle alpine-sdk automake \ - libtool gcc musl-dev nasm python3 + autoconf \ + g++ \ + make \ + libpng-dev \ + gifsicle \ + alpine-sdk\ + automake \ + libtool \ + gcc \ + musl-dev \ + nasm \ + python3 WORKDIR ${SOURCE_DIR} COPY jellyfin-web . @@ -114,15 +123,22 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility" # Install dependencies: RUN apt-get update \ && apt-get install --no-install-recommends --no-install-suggests --yes \ - ca-certificates gnupg curl \ + ca-certificates \ + gnupg \ + curl \ + apt-transport-https \ && curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key \ | gpg --dearmor -o /etc/apt/trusted.gpg.d/debian-jellyfin.gpg \ && echo "deb [arch=${PACKAGE_ARCH}] https://repo.jellyfin.org/debian ${OS_VERSION} main" > /etc/apt/sources.list.d/jellyfin.list \ && apt-get update \ && apt-get install --no-install-recommends --no-install-suggests --yes \ - ${FFMPEG_PACKAGE} openssl locales libfontconfig1 libfreetype6 \ + ${FFMPEG_PACKAGE} \ + openssl \ + locales \ + libfontconfig1 \ + libfreetype6 \ && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen \ - && apt-get remove gnupg --yes \ + && apt-get remove gnupg apt-transport-https --yes \ && apt-get clean autoclean --yes \ && apt-get autoremove --yes \ && rm -rf /var/cache/apt/archives* /var/lib/apt/lists/* |