From 1297a5abce7864c1bf89527d66900072ca74eb6f Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Fri, 3 Nov 2023 07:22:22 +0100 Subject: [PATCH] Copy models in VMAF --- build/alpine/Dockerfile | 1 + build/debian-shared/Dockerfile | 1 + build/debian/Dockerfile | 1 + 3 files changed, 3 insertions(+) diff --git a/build/alpine/Dockerfile b/build/alpine/Dockerfile index ca1c992..5d28062 100644 --- a/build/alpine/Dockerfile +++ b/build/alpine/Dockerfile @@ -25,6 +25,7 @@ RUN git clone --depth 1 --branch "${VMAF_TAG}" https://github.com/Netflix/vmaf.g -Denable_float=true -Dbuilt_in_models=true -Denable_tests=false -Denable_docs=false && \ ninja -vC build && \ ninja -vC build install && \ + cp -rvf /tmp/vmaf/model /usr/share/model && \ cd / && \ rm -rf /tmp/vmaf diff --git a/build/debian-shared/Dockerfile b/build/debian-shared/Dockerfile index 424e5ae..2380713 100644 --- a/build/debian-shared/Dockerfile +++ b/build/debian-shared/Dockerfile @@ -26,6 +26,7 @@ RUN git clone --depth 1 --branch "${VMAF_TAG}" https://github.com/Netflix/vmaf.g -Denable_float=true -Dbuilt_in_models=true -Denable_tests=false -Denable_docs=false && \ ninja -vC build && \ ninja -vC build install && \ + cp -rvf /tmp/vmaf/model /usr/share/model && \ cd / && \ rm -rf /tmp/vmaf diff --git a/build/debian/Dockerfile b/build/debian/Dockerfile index 9a8366e..196d163 100644 --- a/build/debian/Dockerfile +++ b/build/debian/Dockerfile @@ -29,6 +29,7 @@ RUN git clone --depth 1 --branch "${VMAF_TAG}" https://github.com/Netflix/vmaf.g -Denable_float=true -Dbuilt_in_models=true -Denable_tests=false -Denable_docs=false && \ ninja -vC build && \ ninja -vC build install && \ + cp -rvf /tmp/vmaf/model /usr/share/model && \ cd / && \ rm -rf /tmp/vmaf