-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathDockerfile
30 lines (25 loc) · 854 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
FROM plexinc/pms-docker:plexpass
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y python3 git build-essential libargtable2-dev autoconf \
libtool-bin ffmpeg libsdl1.2-dev libavutil-dev libavformat-dev libavcodec-dev && \
# Clone Comskip
cd /opt && \
git clone git://github.com/erikkaashoek/Comskip && \
cd Comskip && \
./autogen.sh && \
./configure && \
make && \
# Clone PlexComskip
cd /opt && \
git clone https://github.com/ekim1337/PlexComskip.git && \
chmod -R 777 /opt/ /tmp/ /root/ && \
touch /var/log/PlexComskip.log && \
chmod 777 /var/log/PlexComskip.log && \
# Cleanup
apt-get -y autoremove && \
apt-get -y clean && \
rm -rf /var/lib/apt/lists/* && \
rm -rf /tmp/* && \
rm -rf /var/tmp/*
ADD ./PlexComskip.conf /opt/PlexComskip/PlexComskip.conf