From 40d302e641a6ce03bff7b83c6deec40ed9540d48 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Sat, 28 Oct 2023 12:24:56 -0500 Subject: [PATCH] switch fedora --- build-ffmpeg.jenkins | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/build-ffmpeg.jenkins b/build-ffmpeg.jenkins index 2a44d28..5d0d4a1 100644 --- a/build-ffmpeg.jenkins +++ b/build-ffmpeg.jenkins @@ -10,13 +10,7 @@ podTemplate( repo: repository, templateName: templateName, alpine: true, - [ - [ - name: "ubi", - path: "${repository}/library/rhubi/ubi:9", - command: "/bin/sh" - ] - ] + fedora: true ) ) { node (label) { @@ -51,11 +45,16 @@ podTemplate( } stage ("Build FFMpeg") { - container ("ubi") { + container ("fedora") { sh """ - dnf install gcc-g++ libtool make xz python perl perl-devel openssl-devel diffutils bzip2 glibc-static libstdc++-static -y + dnf install curl gcc-g++ libtool make xz python perl perl-devel openssl-devel diffutils bzip2 glibc-static libstdc++-static -y cd ${workspace}/ffmpeg - curl -L https://nexus.c.test-chamber-13.lan/repository/generic/nvidia/cuda-libraries.run -o /tmp/cuda-lib-installer.sh + curl \ + --fail \ + --silent \ + --location \ + --output /tmp/cuda-lib-installer.sh \ + https://nexus.c.test-chamber-13.lan/repository/generic/nvidia/cuda-libraries.run /usr/bin/bash /tmp/cuda-lib-installer.sh --silent --toolkit export PATH="${PATH}:/usr/local/cuda/bin" SKIPINSTALL=yes ./build-ffmpeg --full-static --enable-gpl-and-non-free --build