Correctly calculate ffmpeg version based on ffmpeg path (#16041)

* Correctly calculate ffmpeg version based on ffmpeg path

* Formatting
This commit is contained in:
Nicolas Mowen
2025-01-18 19:30:35 -07:00
committed by GitHub
parent 3947e79086
commit 0ee2e404da
5 changed files with 58 additions and 3 deletions

View File

@@ -215,7 +215,6 @@ ENV TRANSFORMERS_NO_ADVISORY_WARNINGS=1
ENV OPENCV_FFMPEG_LOGLEVEL=8
ENV PATH="/usr/local/go2rtc/bin:/usr/local/tempio/bin:/usr/local/nginx/sbin:${PATH}"
ENV LIBAVFORMAT_VERSION_MAJOR=60
# Install dependencies
RUN --mount=type=bind,source=docker/main/install_deps.sh,target=/deps/install_deps.sh \