forked from JNoDuq/videobench
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
41 lines (32 loc) · 971 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM ubuntu
ENV TZ=UTC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update -qq
RUN \
apt-get install -y build-essential git make \
ninja-build \
python3 \
python3-dev \
python3-pip \
python3-setuptools \
python3-tk \
&& pip3 install --upgrade pip \
&& pip install numpy scipy matplotlib notebook pandas sympy nose scikit-learn scikit-image h5py sureal meson \
&& mkdir /tmp/vmaf \
&& cd /tmp/vmaf \
&& git clone https://github.com/Netflix/vmaf.git . \
&& make \
&& make install \
&& rm -r /tmp/vmaf
RUN \
apt-get install -y yasm pkg-config \
&& mkdir /tmp/ffmpeg \
&& cd /tmp/ffmpeg \
&& git clone https://git.ffmpeg.org/ffmpeg.git . \
&& ./configure --enable-libvmaf --enable-version3 --pkg-config-flags="--static" \
&& make -j 8 install \
&& rm -r /tmp/ffmpeg
RUN \
mkdir -p /home/shared-vmaf
RUN \
ldconfig