aboutsummaryrefslogtreecommitdiff
path: root/deployment/Dockerfile.linux.amd64
diff options
context:
space:
mode:
authorMartin Vandenbussche <26136934+MaVdbussche@users.noreply.github.com>2024-01-18 18:38:41 +0100
committerGitHub <noreply@github.com>2024-01-18 18:38:41 +0100
commite0cafe418c3890f62736bc418298d6d7df2f38fb (patch)
treef22c2550f09289876c11f98375d0eb3906e2b593 /deployment/Dockerfile.linux.amd64
parent27ab3ef029cc65d3a60812615350de8cd2f5fda4 (diff)
parenta884b1f7869436fb373d71106330ab1db79cee11 (diff)
Merge branch 'master' into fix-trailers_urls
Diffstat (limited to 'deployment/Dockerfile.linux.amd64')
-rw-r--r--deployment/Dockerfile.linux.amd6413
1 files changed, 10 insertions, 3 deletions
diff --git a/deployment/Dockerfile.linux.amd64 b/deployment/Dockerfile.linux.amd64
index 386f7cefe..6b8de3773 100644
--- a/deployment/Dockerfile.linux.amd64
+++ b/deployment/Dockerfile.linux.amd64
@@ -1,7 +1,11 @@
-FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim
+ARG DOTNET_VERSION=8.0
+
+FROM mcr.microsoft.com/dotnet/sdk:${DOTNET_VERSION}-bookworm-slim
+
# Docker build arguments
ARG SOURCE_DIR=/jellyfin
ARG ARTIFACT_DIR=/dist
+
# Docker run environment
ENV SOURCE_DIR=/jellyfin
ENV ARTIFACT_DIR=/dist
@@ -11,10 +15,13 @@ ENV IS_DOCKER=YES
# Prepare Debian build environment
RUN apt-get update -yqq \
- && apt-get install -yqq --no-install-recommends \
+ && apt-get install --no-install-recommends -yqq \
debhelper gnupg devscripts unzip \
mmv libcurl4-openssl-dev libfontconfig1-dev \
- libfreetype6-dev libssl-dev libssl1.1 liblttng-ust0
+ libfreetype6-dev libssl-dev libssl3 liblttng-ust1 \
+ && apt-get clean autoclean -yqq \
+ && apt-get autoremove -yqq \
+ && rm -rf /var/lib/apt/lists/*
# Link to docker-build script
RUN ln -sf ${SOURCE_DIR}/deployment/build.linux.amd64 /build.sh