-
Notifications
You must be signed in to change notification settings - Fork 36
/
Dockerfile
32 lines (21 loc) · 1.02 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
# Set the base image to use to Ubuntu
FROM ubuntu:12.04
MAINTAINER Igor Katson <[email protected]>
RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget supervisor unzip ca-certificates
RUN echo 'deb http://repo.acestream.org/ubuntu/ precise main' > /etc/apt/sources.list.d/acestream.list
RUN wget -q -O - http://repo.acestream.org/keys/acestream.public.key | apt-key add -
RUN DEBIAN_FRONTEND=noninteractive apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y acestream-engine vlc-nox python-gevent
RUN mkdir -p /var/run/sshd
RUN mkdir -p /var/log/supervisor
RUN adduser --disabled-password --gecos "" tv
RUN cd /tmp/ && wget https://github.com/ValdikSS/aceproxy/archive/6dff4771c3.zip -O master.zip
RUN cd /tmp/ && unzip master.zip -d /home/tv/
RUN mv /home/tv/aceproxy-* /home/tv/aceproxy-master
RUN echo 'root:password' |chpasswd
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD start.sh /start.sh
RUN chmod +x /start.sh
EXPOSE 22 8000 62062
ENTRYPOINT ["/start.sh"]