-
Notifications
You must be signed in to change notification settings - Fork 10
/
Dockerfile
48 lines (44 loc) · 1.22 KB
/
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
42
43
44
45
46
47
48
FROM python:3.6.8-stretch
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
RUN apt-get update && apt-get install -y --no-install-recommends \
python-numpy \
python3-gi-cairo \
build-essential \
cmake \
git \
curl \
vim \
ca-certificates \
libjpeg-dev \
libgirepository1.0-dev \
libffi-dev \
python-cairo \
python3-dev \
gir1.2-gtk-3.0 \
ffmpeg \
python3-gi \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-ugly \
gstreamer1.0-plugins-bad \
gstreamer1.0-libav \
libsox-fmt-all \
sox \
libsox-dev \
libcairo2-dev \
libcairo-gobject2 \
libcairo2 \
libavcodec-dev \
libavformat-dev \
libavutil-dev \
libswresample-dev \
libfftw3-dev \
python-gst-1.0 \
python3-gst-1.0 \
libsndfile1 &&\
rm -rf /var/lib/apt/lists/*
ADD requirements.txt /app/
WORKDIR /app
# install requirements, starting with pycairo because it fails in a different order
RUN pip install pycairo
RUN pip install --requirement /app/requirements.txt