-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (19 loc) · 994 Bytes
/
Copy pathDockerfile
File metadata and controls
29 lines (19 loc) · 994 Bytes
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
FROM python:3.7.5-buster
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \
&& apt-get update -q \
&& apt-get install -qy swig ffmpeg libsphinxbase-dev gcc automake autoconf libasound2-dev python3-dev python3-pip build-essential swig git libpulse-dev libtool bison swig libavutil-dev libswscale-dev python3-dev libpulse-dev libpocketsphinx-dev libavformat-dev libswresample-dev libavdevice-dev libavfilter-dev python3-pocketsphinx \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN pip3 install pocketsphinx
RUN git clone -b '0.11' https://github.com/sc0ty/subsync.git
WORKDIR /subsync
RUN cp subsync/config.py.template subsync/config.py
RUN sed -i '/wxPython==4.0.6/d' ./requirements.txt
RUN pip3 install -r requirements.txt
WORKDIR /subsync/gizmo
RUN python3 setup.py build
RUN python3 setup.py install
WORKDIR /subsync
RUN python3 setup.py build
RUN python3 setup.py install
ENTRYPOINT [ "python3", "./subsync.py" ]