anchor.diff:  COPY --from=vmaf /usr/local/lib/pkgconfig/libvmaf.pc /usr/local/lib/pkgconfig/libvmaf.pc
   COPY --from=vmaf /usr/local/lib/libvmaf.a /usr/local/lib/libvmaf.a
   COPY --from=vmaf /usr/local/include/libvmaf/ /usr/local/include/libvmaf/
  -WORKDIR /tmp/aom
  -RUN \
  -  mkdir build_tmp && cd build_tmp && \
  +WORKDIR /tmp/aom/build_tmp
  +RUN \
     cmake \
       -G"Unix Makefiles" \
       -DCMAKE_VERBOSE_MAKEFILE=ON \
  
positive.code: 
  FROM builder AS vidstab
  COPY --from=vidstab_download /tmp/vidstab/ /tmp/vidstab/
  WORKDIR /tmp/vidstab
  RUN \
    mkdir build && cd build && \
    # This line workarounds the issue that happens when the image builds in emulated (buildx) arm64 environment.
    # Since in emulated container the /proc is mounted from the host, the cmake not able to detect CPU features correctly.
    sed -i 's/include (FindSSE)/if(CMAKE_SYSTEM_ARCH MATCHES "amd64")\ninclude (FindSSE)\nendif()/' ../CMakeLists.txt && \
  
negative.code: 
  FROM builder AS openjpeg
  COPY --from=openjpeg_download /tmp/openjpeg/ /tmp/openjpeg/
  WORKDIR /tmp/openjpeg/build
  RUN \
    cmake \
      -G"Unix Makefiles" \
      -DCMAKE_VERBOSE_MAKEFILE=ON \
  