aboutsummaryrefslogtreecommitdiff
path: root/docker/Dockerfile.armhf
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-02-11 12:47:51 -0500
committerJoshua M. Boniface <joshua@boniface.me>2024-02-11 12:47:51 -0500
commit80a997253adc0049a2f3ef42c3d47e3d2a8a8357 (patch)
treeedc2479769c0b886af43d825de75c34326804819 /docker/Dockerfile.armhf
parentAdd initial build script (diff)
downloadjellyfin-packaging-80a997253adc0049a2f3ef42c3d47e3d2a8a8357.tar.gz
jellyfin-packaging-80a997253adc0049a2f3ef42c3d47e3d2a8a8357.tar.bz2
jellyfin-packaging-80a997253adc0049a2f3ef42c3d47e3d2a8a8357.zip
Add combined docker builds and rework Deb builds
Diffstat (limited to 'docker/Dockerfile.armhf')
-rw-r--r--docker/Dockerfile.armhf51
1 files changed, 0 insertions, 51 deletions
diff --git a/docker/Dockerfile.armhf b/docker/Dockerfile.armhf
deleted file mode 100644
index 490cd4a..0000000
--- a/docker/Dockerfile.armhf
+++ /dev/null
@@ -1,51 +0,0 @@
-# By default build for stable; unstable must set this explicitly
-ARG TARGET_RELEASE=stable
-
-FROM multiarch/qemu-user-static:x86_64-arm as qemu
-FROM jellyfin/jellyfin-server:${TARGET_RELEASE}-armhf as server
-FROM jellyfin/jellyfin-web:${TARGET_RELEASE} as web
-FROM arm32v7/debian:bullseye-slim
-COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin
-
-ENV HEALTHCHECK_URL=http://localhost:8096/health
-
-# Default environment variables for the Jellyfin invocation
-ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT="1" \
- LC_ALL="en_US.UTF-8" \
- LANG="en_US.UTF-8" \
- LANGUAGE="en_US:en" \
- JELLYFIN_DATA_DIR="/config" \
- JELLYFIN_CACHE_DIR="/cache" \
- JELLYFIN_CONFIG_DIR="/config/config" \
- JELLYFIN_LOG_DIR="/config/log" \
- JELLYFIN_WEB_DIR="/jellyfin/jellyfin-web" \
- JELLYFIN_FFMPEG="/usr/lib/jellyfin-ffmpeg/ffmpeg"
-
-# https://github.com/dlemstra/Magick.NET/issues/707#issuecomment-785351620
-ENV MALLOC_TRIM_THRESHOLD_=131072
-
-# Install dependencies:
-# curl: healthcheck
-RUN apt-get update \
- && apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg curl wget \
- && curl -fsSL https://repo.jellyfin.org/jellyfin_team.gpg.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/debian-jellyfin.gpg \
- && echo 'deb [arch=armhf] https://repo.jellyfin.org/debian bullseye main' > /etc/apt/sources.list.d/jellyfin.list \
- && apt-get update \
- && apt-get install --no-install-recommends --no-install-suggests -y jellyfin-ffmpeg5 openssl locales libfontconfig1 libfreetype6 \
- && apt-get remove gnupg wget -y \
- && apt-get clean autoclean -y \
- && apt-get autoremove -y \
- && rm -rf /var/lib/apt/lists/* \
- && mkdir -p ${JELLYFIN_DATA_DIR} ${JELLYFIN_CACHE_DIR} \
- && chmod 777 ${JELLYFIN_DATA_DIR} ${JELLYFIN_CACHE_DIR} \
- && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
-
-COPY --from=server /jellyfin /jellyfin
-COPY --from=web /jellyfin-web /jellyfin/jellyfin-web
-
-EXPOSE 8096
-VOLUME ${JELLYFIN_DATA_DIR} ${JELLYFIN_CACHE_DIR}
-ENTRYPOINT [ "/jellyfin/jellyfin" ]
-
-HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
- CMD curl -Lk -fsS "${HEALTHCHECK_URL}" || exit 1
bgstack15