Failed ffmpeg is now noisier

This should be enough to fail the build when the binary doesn't work.
This commit is contained in:
tcely authored and GitHub committed 2024-11-24 00:27:33 -05:00
1 parent 908b55c191
commit d4834e427f
1 file changed
+2 -1
+2 -1
View File
@@ -204,7 +204,8 @@ RUN set -x && \
# Append software versions # Append software versions
RUN set -x && \ RUN set -x && \
FFMPEG_VERSION=$(/usr/local/bin/ffmpeg -version | head -n 1 | awk '{ print $3 }') && \ /usr/local/bin/ffmpeg -version && \
FFMPEG_VERSION=$(set -o pipefail ; /usr/local/bin/ffmpeg -version | head -n 1 | awk '{ print $3 }' || exit) && \
printf -- "ffmpeg_version = '%s'\n" "${FFMPEG_VERSION}" >> /app/common/third_party_versions.py printf -- "ffmpeg_version = '%s'\n" "${FFMPEG_VERSION}" >> /app/common/third_party_versions.py
# Copy root # Copy root