Compare commits

..

No commits in common. "4a7c0729f04bb84d570f134ae60758e40457af44" and "f5344a03e6c171cab74a09e985d61faf289fc696" have entirely different histories.

View File

@ -45,71 +45,11 @@ RUN apt-get update && \
apt-get install -y --no-install-recommends \
intel-media-va-driver-non-free \
vainfo \
mesa-va-drivers && \
# HandBrake deps
apt-get install -y \
autoconf \
automake \
autopoint \
appstream \
build-essential \
cmake \
git \
libass-dev \
libbz2-dev \
libfontconfig1-dev \
libfreetype6-dev \
libfribidi-dev \
libharfbuzz-dev \
libjansson-dev \
liblzma-dev \
libmp3lame-dev \
libnuma-dev \
libogg-dev \
libopus-dev \
libsamplerate-dev \
libspeex-dev \
libtheora-dev \
libtool \
libtool-bin \
libturbojpeg0-dev \
libvorbis-dev \
libx264-dev \
libxml2-dev \
libvpx-dev \
m4 \
make \
meson \
nasm \
ninja-build \
patch \
pkg-config \
python \
tar \
zlib1g-dev \
libva-dev \
libdrm-dev && \
rm -rdf /tmp/handbrake && \
mkdir -p /tmp/handbrake && \
git clone \
--branch ${HANDBRAKE} \
--depth 1 https://github.com/HandBrake/HandBrake.git \
/tmp/handbrake && \
cd /tmp/handbrake && \
./configure \
--enable-nvenc \
--enable-qsv \
--enable-x265 \
--disable-gtk \
--launch-jobs=14 \
--launch \
--force && \
make --directory=build install && \
cp /tmp/handbrake/build/HandBrakeCLI /usr/local/bin/HandBrakeCLI && \
rm -rdf /tmp/handbrake/ ; \
mesa-va-drivers; \
fi
# former handbrake stuff
# other architectures
# handle tdarr binaries
@ -138,8 +78,7 @@ RUN if [ "$MODULE" = "Tdarr_Node" ]; then \
apt-get autoremove -y
# link jellyfin-ffmpeg version 5.1.2 to tdarr node ffmpeg
RUN mkdir -p /app/Tdarr_Node/node_modules/ffmpeg-static/ && \
ln -sf /usr/local/bin/ffmpeg /app/Tdarr_Node/node_modules/ffmpeg-static/ffmpeg
RUN ln -sf /usr/local/bin/ffmpeg /app/Tdarr_Node/node_modules/ffmpeg-static/ffmpeg
EXPOSE ${NODE_PORT}
EXPOSE ${WEB_UI_PORT}