Changed Debian version and better syntax

This commit is contained in:
Uruk 2024-01-14 02:48:53 +01:00
parent 43c469f69c
commit ee7abb3bf0

View File

@ -1,6 +1,4 @@
ARG IMG=debian
ARG TAG=buster
FROM $IMG:$TAG
FROM debian:bookworm-slim
# Docker build arguments
ARG SOURCE_DIR=/jellyfin
@ -15,8 +13,8 @@ ENV IS_DOCKER=YES
# Prepare Debian build environment
RUN apt-get update \
&& DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" \
apt-get install -y debhelper mmv git curl devscripts equivs
apt-get install --no-install-recommends -y \
debhelper mmv git curl devscripts equivs
# Link to build script
RUN ln -sf ${SOURCE_DIR}/deployment/build.debian /build.sh