-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
46 lines (41 loc) · 1.16 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
FROM linuxserver/radarr
# Add sources
RUN sed -i -- 's/#deb-src/deb-src/g' /etc/apt/sources.list && sed -i -- 's/# deb-src/deb-src/g' /etc/apt/sources.list
RUN \
apt-get update && \
apt-get install -y \
ffmpeg \
git \
python-pip \
openssl \
python-dev \
libffi-dev \
libssl-dev \
libxml2-dev \
libxslt1-dev \
zlib1g-dev \
libfdk-aac-dev \
build-essential
RUN \
pip install requests && \
pip install requests[security] && \
pip install requests-cache && \
pip install babelfish && \
pip install 'guessit<2' && \
pip install 'subliminal<2' && \
pip install stevedore==1.19.1 && \
pip install python-dateutil && \
pip install qtfaststart && \
git clone git://github.com/mdhiggins/sickbeard_mp4_automator.git /sickbeard_mp4_automator/ && \
touch /sickbeard_mp4_automator/info.log && \
chmod a+rwx -R /sickbeard_mp4_automator && \
ln -s /downloads /data && \
ln -s /config_mp4_automator/autoProcess.ini /sickbeard_mp4_automator/autoProcess.ini && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
COPY rules.patch /rules.patch
COPY build_ffmpeg.sh /build_ffmpeg.sh
RUN /bin/sh build_ffmpeg.sh
VOLUME /config_mp4_automator