Install vapoursynth scripts in separate directory
This commit is contained in:
parent
eeaa32a13b
commit
5bcb121ea5
10
Dockerfile
10
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/
|
||||
|
|
Reference in a new issue