Skip to content

Commit

Permalink
docker: add build failure jumpout
Browse files Browse the repository at this point in the history
  • Loading branch information
KFERMercer committed Jan 2, 2025
1 parent 920bb93 commit 0d114d5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,13 @@ RUN <<EOT
--enable-protocol=hls,http,https,file
EOT

RUN make -j$(nproc)
RUN <<EOT
make -j$(nproc)
[ -e ./ffmpeg ] || {
echo "Failed to build FFmpeg!"
exit 1
}
EOT

FROM mother AS minimal

Expand Down

0 comments on commit 0d114d5

Please sign in to comment.