From 6e0838a528a5aa3eb6a16fbf49d8b6e28d5b5eea Mon Sep 17 00:00:00 2001 From: Galen Lynch Date: Sat, 26 Oct 2024 08:59:18 -0700 Subject: [PATCH] Install ffmpeg in singularity container? Not sure if this is right --- .github/workflows/tag_and_publish.yml | 3 +-- scripts/singularity_build.def | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag_and_publish.yml b/.github/workflows/tag_and_publish.yml index 2e78f52..f037902 100644 --- a/.github/workflows/tag_and_publish.yml +++ b/.github/workflows/tag_and_publish.yml @@ -91,8 +91,7 @@ jobs: libseccomp-dev \ wget \ pkg-config \ - procps \ - ffmpeg + procps - name: Install GO run: | wget https://dl.google.com/go/go$GO_VERSION.$GO_OS-$GO_ARCH.tar.gz diff --git a/scripts/singularity_build.def b/scripts/singularity_build.def index 7876137..094ceed 100644 --- a/scripts/singularity_build.def +++ b/scripts/singularity_build.def @@ -7,6 +7,7 @@ Stage: build cp -R . ${SINGULARITY_ROOTFS}/aind-behavior-video-transformation %post + apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/* cd ${SINGULARITY_ROOTFS}/aind-behavior-video-transformation pip install .[ephys] --no-cache-dir rm -rf ${SINGULARITY_ROOTFS}/aind-behavior-video-transformation