From 33ba5ebfe94ecb7f4e98a0b124fb7097c4afb359 Mon Sep 17 00:00:00 2001 From: Cronix Date: Mon, 28 Oct 2024 08:53:53 +0100 Subject: [PATCH] move version args to top --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9bf84d5..29dbf21 100755 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ ARG PROTOC_VERSION=28.2 +# renovate: datasource=github-releases depName=jellyfin/jellyfin-ffmpeg versioning=loose +ARG JELLYFIN_FFMPEG_VERSION=7.0.2-5 + FROM debian:bookworm-slim AS builder ARG PROTOC_VERSION +ARG JELLYFIN_FFMPEG_VERSION # set our working directory within the build context WORKDIR /app @@ -28,14 +32,11 @@ RUN PATH="$PATH:$HOME/app/.local/bin" python3 -m grpc_tools.protoc -I. --python_ # Final stage FROM debian:bookworm-slim +ARG JELLYFIN_FFMPEG_VERSION # Enable non-free repositories RUN sed -i 's/Components: main/Components: main contrib non-free/' /etc/apt/sources.list.d/debian.sources -# Define the ARG for the jellyfin-ffmpeg version -# renovate: datasource=github-releases depName=jellyfin/jellyfin-ffmpeg versioning=loose -ARG JELLYFIN_FFMPEG_VERSION=7.0.2-5 - # Install packages that are needed for the runtime environment RUN apt-get update && apt-get install --no-install-recommends -y \ libssl3 \