1
1
# syntax=docker/dockerfile:experimental
2
- FROM ubuntu:16.04
2
+ FROM ubuntu:bionic
3
3
4
4
# Install system packages
5
5
RUN set -ex && \
6
6
apt-get update && \
7
7
apt-get install -yq --no-install-recommends \
8
+ ca-certificates \
8
9
python2.7 \
9
10
libpython2.7 \
10
11
net-tools \
@@ -19,12 +20,22 @@ RUN set -ex && \
19
20
# Install Ace Stream
20
21
# https://wiki.acestream.media/Download#Linux
21
22
RUN mkdir -p /opt/acestream && \
22
- wget --quiet --output-document acestream.tgz "http ://download.acestream.media/linux/acestream_3.1.16_ubuntu_16 .04_x86_64.tar.gz" && \
23
- echo "452bccb8ae8b5ff4497bbb796081dcf3fec2b699ba9ce704107556a3d6ad2ad7 acestream.tgz" | sha256sum --check && \
24
- tar --extract --gzip --strip-components 1 -- directory /opt/acestream --file acestream.tgz && \
23
+ wget --no-verbose --output-document acestream.tgz "https ://download.acestream.media/linux/acestream_3.1.49_ubuntu_18 .04_x86_64.tar.gz" && \
24
+ echo "d2ed7bdc38f6a47c05da730f7f6f600d48385a7455d922a2688f7112202ee19e acestream.tgz" | sha256sum --check && \
25
+ tar --extract --gzip --directory /opt/acestream --file acestream.tgz && \
25
26
rm -rf acestream.tgz && \
26
27
/opt/acestream/start-engine --version
27
28
29
+ # Acestream 3.1.49 install is missing library files,
30
+ # but we can grab these from a previous release.
31
+ # http://oldforum.acestream.media/index.php?topic=12448.msg26872
32
+ RUN wget --no-verbose --output-document acestream.tgz "https://download.acestream.media/linux/acestream_3.1.16_ubuntu_16.04_x86_64.tar.gz" && \
33
+ echo "452bccb8ae8b5ff4497bbb796081dcf3fec2b699ba9ce704107556a3d6ad2ad7 acestream.tgz" | sha256sum --check && \
34
+ tar --extract --gzip --strip-components 1 --directory /tmp --file acestream.tgz && \
35
+ cp /tmp/lib/acestreamengine/py*.so /opt/acestream/lib/acestreamengine/ && \
36
+ cp /tmp/lib/*.so* /usr/lib/x86_64-linux-gnu/ && \
37
+ rm -rf tmp/* acestream.tgz
38
+
28
39
# Overwrite disfunctional Ace Stream web player with a working videojs player,
29
40
# Access at http://127.0.0.1:6878/webui/player/<acestream id>
30
41
COPY player.html /opt/acestream/data/webui/html/player.html
@@ -38,4 +49,4 @@ ENTRYPOINT ["/opt/acestream/start-engine", "@/opt/acestream/acestream.conf"]
38
49
HEALTHCHECK CMD nc -zv localhost 6878 || exit 1
39
50
40
51
EXPOSE 6878
41
- EXPOSE 8621
52
+ EXPOSE 8621
0 commit comments