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 2024-11-24 00:27:33 -05:00 committed by GitHub
parent 908b55c191
commit d4834e427f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,7 +204,8 @@ RUN set -x && \
# Append software versions
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
# Copy root