aboutsummaryrefslogtreecommitdiff
path: root/debian/docker/Dockerfile
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/docker/Dockerfile
parentRefactor jellyfin-packaging (diff)
downloadjellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.tar.gz
jellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.tar.bz2
jellyfin-packaging-76a60266d1f05fc78a7607e3dbca68ca8615d8a3.zip
Apply suggestions
Diffstat (limited to 'debian/docker/Dockerfile')
-rw-r--r--debian/docker/Dockerfile22
1 files changed, 19 insertions, 3 deletions
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