forked from armen181/acearm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (20 loc) · 1.04 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM lsiobase/alpine.armhf:3.8
RUN apk add --no-cache curl nano git mc python2 py-psutil \
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \
&& apk add --no-cache --virtual=build-dependencies g++ gcc make python2-dev build-base \
&& pip install --no-binary gevent gevent \
&& cd /tmp/ \
&& curl -L https://sybdata.de/data/acestream/acestream_3.1.33_py2.7.15_webUI_ARMv7.tar.gz -o acestream_rpi.tar.gz \
&& tar xzfv acestream_rpi.tar.gz \
&& rm -rf acestream_rpi.tar.gz
RUN mv /tmp/acestrem.engine/ /
RUN find /acestrem.engine/androidfs/system -type d -exec chmod 755 {} \; \
&& find /acestrem.engine/androidfs/system -type f -exec chmod 644 {} \; \
&& chmod 755 /acestrem.engine/androidfs/system/bin/* /acestrem.engine/androidfs/acestream.engine/python/bin/python \
&& rm -rf /tmp/* \
&& apk del --purge build-dependencies \
&& cd / && git clone https://github.com/pepsik-kiev/HTTPAceProxy.git
EXPOSE 6878 62062 8621 8000
COPY root/ /
RUN chmod +x /acestrem.engine/start.sh