From d4834e427f6f22c2cb0cfd0cff1ac704673f1d37 Mon Sep 17 00:00:00 2001 From: tcely Date: Sun, 24 Nov 2024 00:27:33 -0500 Subject: [PATCH] Failed ffmpeg is now noisier This should be enough to fail the build when the binary doesn't work. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 60c8937b..c513ee61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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