FROM debian:testing
RUN echo 'deb http://ftp-stud.hs-esslingen.de/pub/Mirrors/debian-multimedia/ testing main' > /etc/apt/sources.list.d/deb-multimedia.list \
&& apt-get update -oAcquire::AllowInsecureRepositories=true \
&& apt-get -y --allow-unauthenticated install deb-multimedia-keyring \
&& apt-get update \
&& apt-get -y install \
beignet-opencl-icd \
ffmpeg \
python3-pip \
vapoursynth \
vapoursynth-* \
wget \
x264 \
x265 \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 --no-cache-dir install \
matplotlib \
yuuno 'prompt-toolkit<2.1.0,>=2.0.0' \
&& yuuno jupyter install
RUN wget -P /usr/local/lib/python3.*/dist-packages/ \
https://github.com/HomeOfVapourSynthEvolution/havsfunc/raw/master/havsfunc.py \
https://github.com/HomeOfVapourSynthEvolution/mvsfunc/raw/master/mvsfunc.py \
https://github.com/Infiziert90/getnative/raw/master/getnative.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/WolframRhodium/muvsfunc/raw/master/muvsfunc.py \
https://github.com/dubhater/vapoursynth-adjust/raw/master/adjust.py
RUN chmod 755 /usr/local/lib/python3.*/dist-packages/*
RUN adduser --disabled-password --gecos '' vapoursynth
USER vapoursynth