-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (23 loc) · 1008 Bytes
/
Dockerfile
File metadata and controls
27 lines (23 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Transcodarr — automated media transcoder
# Supports NVIDIA NVENC, Intel QSV, and CPU-only encoding
ARG GPU_TYPE=nvidia
FROM lscr.io/linuxserver/ffmpeg@sha256:605f27ab2067c0418f7453964a9a301a20993636e16bafaf3bf3faab1f2b6a0d
LABEL org.opencontainers.image.title="Transcodarr"
LABEL org.opencontainers.image.description="Automated media transcoder with GPU-accelerated encoding"
LABEL org.opencontainers.image.authors="jb14813"
# Install runtime dependencies
RUN apt-get update -qq && \
apt-get install -y -qq --no-install-recommends \
curl perl valkey-server valkey-tools && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Intel QSV: install media driver (only for intel builds)
ARG GPU_TYPE
RUN if [ "$GPU_TYPE" = "intel" ]; then \
apt-get update -qq && \
apt-get install -y -qq --no-install-recommends \
intel-media-va-driver-non-free libmfx1 libva-drm2 libva2 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*; \
fi
COPY scripts/ /scripts/