aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorUruk <uruknarb20@gmail.com>2024-02-23 18:24:32 +0100
committerUruk <uruknarb20@gmail.com>2024-02-23 18:24:32 +0100
commit76a60266d1f05fc78a7607e3dbca68ca8615d8a3 (patch)
tree31bfa2b8bdd2af286c24a9e17c40b5ffad89e081 /debian
parentRefactor jellyfin-packaging (diff)
downloadjellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.tar.gz
jellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.tar.bz2
jellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.zip
Apply suggestions
Diffstat (limited to 'debian')
-rw-r--r--debian/conf/jellyfin.init2
-rw-r--r--debian/docker/Dockerfile22
2 files changed, 20 insertions, 4 deletions
diff --git a/debian/conf/jellyfin.init b/debian/conf/jellyfin.init
index 72cf2e2..92864a9 100644
--- a/debian/conf/jellyfin.init
+++ b/debian/conf/jellyfin.init
@@ -19,7 +19,7 @@ fi
. /lib/lsb/init-functions
-JELLYFIN_HOME="/var/lib/jellyfin/"
+JELLYFIN_HOME="/etc/default/jellyfin"
PIDFILE="/run/jellyfin.pid"
case "$1" in
diff --git a/debian/docker/Dockerfile b/debian/docker/Dockerfile
index 8766278..c93344d 100644
--- a/debian/docker/Dockerfile
+++ b/debian/docker/Dockerfile
@@ -31,9 +31,22 @@ ENV ARCH=${PACKAGE_ARCH}
RUN apt-get update -y \
&& DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC \
apt-get install --no-install-recommends -y \
- wget debhelper gnupg devscripts build-essential mmv lsb-release \
- libssl*.* liblttng-ust* libfontconfig*-dev libcurl*openssl-dev \
- libfreetype*-dev libssl-dev
+ wget \
+ debhelper \
+ gnupg \
+ devscripts \
+ build-essential \
+ mmv \
+ lsb-release \
+ libssl*.* \
+ liblttng-ust* \
+ libfontconfig*-dev \
+ libcurl*openssl-dev \
+ libfreetype*-dev \
+ libssl-dev \
+ && apt-get clean autoclean -y \
+ && apt-get autoremove -y \
+ && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
# Prepare the cross-toolchain
RUN if test "${PACKAGE_ARCH}" != "$( dpkg --print-architecture )"; then \
@@ -64,6 +77,9 @@ RUN if test "${PACKAGE_ARCH}" != "$( dpkg --print-architecture )"; then \
libc6-dev:${PACKAGE_ARCH} linux-libc-dev:${PACKAGE_ARCH} libgcc1:${PACKAGE_ARCH} libstdc++-${GCC_VERSION}-dev:${PACKAGE_ARCH} \
libfontconfig*-dev:${PACKAGE_ARCH} libcurl*openssl-dev:${PACKAGE_ARCH} libfreetype*-dev:${PACKAGE_ARCH} libssl-dev:${PACKAGE_ARCH} \
libssl[13].*:${PACKAGE_ARCH} liblttng-ust*:${PACKAGE_ARCH} \
+ && apt-get clean autoclean -y \
+ && apt-get autoremove -y \
+ && rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
; fi
# Prepare dotnet SDK
bgstack15