forked from kmcgill88/k-plex
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (28 loc) · 959 Bytes
/
Dockerfile
File metadata and controls
34 lines (28 loc) · 959 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
30
31
32
33
34
FROM ubuntu:16.04
ARG S6_OVERLAY_VERSION=v1.17.2.0
ARG DEBIAN_FRONTEND="noninteractive"
ENV TERM="xterm" LANG="C.UTF-8" LC_ALL="C.UTF-8"
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