From 5bcb121ea542ca297ef748591e78fc267d45d0f0 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 14 Feb 2020 17:22:10 +0000 Subject: [PATCH] Install vapoursynth scripts in separate directory --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcc5911..e974314 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,7 +75,10 @@ RUN pip3 --no-cache-dir install \ ARG CACHEBUST_SCRIPTS=1 -RUN wget -nv -P /usr/local/lib/python3.*/dist-packages/ \ +ENV PYTHONPATH=/usr/local/lib/vapoursynth-scripts/ + +RUN mkdir /usr/local/lib/vapoursynth-scripts/ \ + && wget -nv -P /usr/local/lib/vapoursynth-scripts/ \ https://gist.github.com/4re/342624c9e1a144a696c6/raw/08df48752c70c66df4127f2791bbedbc1958da77/nnedi3_rpow2.py \ https://gist.github.com/YamashitaRen/020c497524e794779d9c/raw/2a20385e50804f8b24f2a2479e2c0f3c335d4853/edi_rpow2.py \ https://github.com/HomeOfVapourSynthEvolution/havsfunc/raw/master/havsfunc.py \ @@ -89,9 +92,8 @@ RUN wget -nv -P /usr/local/lib/python3.*/dist-packages/ \ https://github.com/Irrational-Encoding-Wizardry/vsutil/raw/master/vsutil.py \ https://github.com/WolframRhodium/muvsfunc/raw/master/muvsfunc.py \ https://github.com/dubhater/vapoursynth-adjust/raw/master/adjust.py \ - https://github.com/theChaosCoder/lostfunc/raw/master/lostfunc.py - -RUN chmod 755 /usr/local/lib/python3.*/dist-packages/* + https://github.com/theChaosCoder/lostfunc/raw/master/lostfunc.py \ + && chmod 755 /usr/local/lib/vapoursynth-scripts/* # models are at wrong location (whyever the package installs it there) RUN cp -r /usr/share/vapoursynth-waifu2x-models/ /usr/lib/x86_64-linux-gnu/vapoursynth/models/