Skip to content

Commit

Permalink
move version args to top
Browse files Browse the repository at this point in the history
  • Loading branch information
psych0d0g authored Oct 28, 2024
1 parent 4b608d7 commit 33ba5eb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit 33ba5eb

Please sign in to comment.