mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
Cleaned up unnecessary layer.
This commit is contained in:
parent
1f4ade0be7
commit
70313bce69
1 changed files with 13 additions and 17 deletions
|
|
@ -1,25 +1,21 @@
|
|||
# --- Stage 1: Get FFmpeg from lscr.io ---
|
||||
FROM lscr.io/linuxserver/ffmpeg:latest AS ffmpeg
|
||||
FROM lscr.io/linuxserver/ffmpeg:latest
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV VIRTUAL_ENV=/dispatcharrpy
|
||||
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
||||
|
||||
# --- Install system-level base dependencies ---
|
||||
RUN apt-get update && apt-get install -y \
|
||||
software-properties-common \
|
||||
&& add-apt-repository -y ppa:deadsnakes/ppa
|
||||
|
||||
|
||||
RUN apt-get install -y \
|
||||
curl wget gnupg2 ca-certificates lsb-release build-essential \
|
||||
gcc libpcre3 libpcre3-dev libpq-dev procps streamlink \
|
||||
libva-drm2 libva-x11-2 libva-dev libva-wayland2 \
|
||||
i965-va-driver intel-media-va-driver mesa-va-drivers \
|
||||
python3.13 python3.13-dev python3.13-venv python3-pip \
|
||||
libstdc++6 libglib2.0-0 libgomp1 libvdpau1 libva2 \
|
||||
libxcb-shape0 libv4l-0 ocl-icd-libopencl1 \
|
||||
alsa-base libasound2t64 nginx \
|
||||
# --- Install Python 3.13 and system dependencies ---
|
||||
# Note: Hardware acceleration (VA-API, VDPAU, NVENC) already included in base ffmpeg image
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
ca-certificates software-properties-common gnupg2 curl wget \
|
||||
&& add-apt-repository ppa:deadsnakes/ppa \
|
||||
&& apt-get update \
|
||||
&& apt-get install --no-install-recommends -y \
|
||||
python3.13 python3.13-dev python3.13-venv \
|
||||
python-is-python3 python3-pip \
|
||||
libpcre3 libpcre3-dev libpq-dev procps \
|
||||
build-essential gcc \
|
||||
nginx streamlink \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# --- Create Python virtual environment ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue