From 329f33744615c3fa096f83202f790ac27279f133 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sun, 7 Jun 2020 21:58:28 +0200 Subject: [PATCH] Install vsutil with pip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This also changes how getnative is installed, because I can’t do a sed on every setup.py. --- Dockerfile | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 525672c..092533a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -123,21 +123,17 @@ RUN mkdir /usr/local/lib/vapoursynth-scripts/ \ https://github.com/IFeelBloated/vapoursynth-mvtools-sf/raw/5dfa8756092daa7dcc635eef799c6964bd40c259/src/mvmulti.py \ https://github.com/Irrational-Encoding-Wizardry/fvsfunc/raw/master/fvsfunc.py \ https://github.com/Irrational-Encoding-Wizardry/kagefunc/raw/master/kagefunc.py \ - https://github.com/Irrational-Encoding-Wizardry/vsutil/raw/master/vsutil.py \ https://github.com/WolframRhodium/muvsfunc/raw/master/Collections/muvsfunc_numpy.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 \ && chmod 755 /usr/local/lib/vapoursynth-scripts/* -# Installing that way because I use the system (dmo) VapourSynth and want to -# avoid conflicts -RUN git clone --depth=1 https://github.com/Infiziert90/getnative \ - && cd getnative \ - && sed -i -e 's/VapourSynth.*//' requirements.txt \ - && pip3 install . \ - && cd .. \ - && rm -rf getnative +# kinda dumb (vapoursynth gets built), but I do not know how to do this better +RUN pip3 install -t /usr/local/lib/vapoursynth-scripts/ --no-cache-dir \ + getnative \ + vsutil \ + && pip3 uninstall -y vapoursynth RUN adduser --disabled-password --gecos '' vapoursynth USER vapoursynth