-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (22 loc) · 891 Bytes
/
Copy pathDockerfile
File metadata and controls
27 lines (22 loc) · 891 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
FROM ubuntu:18.04 as builder
ARG VERSION="3.1.49_ubuntu_18.04"
RUN apt-get update &&\
apt-get install --no-install-recommends --yes wget && \
apt-get clean && \
rm --force --recursive /var/lib/apt/lists
RUN mkdir /opt/acestream && \
wget -O- "http://acestream.org/downloads/linux/acestream_${VERSION}_x86_64.tar.gz" | \
tar -xz -C /opt/acestream
# actual image
FROM ubuntu:18.04
LABEL maintainer="Jack Liar <zhigu1017@gmail.com>"
RUN apt-get update --yes && \
apt-get install --no-install-recommends --yes \
apt-utils python-setuptools python-m2crypto python-apsw libpython2.7 libssl1.0.0 net-tools libxslt1.1 && \
apt-get clean && \
rm --force --recursive /var/lib/apt/lists
COPY --from=builder /opt/acestream /opt/acestream
EXPOSE 6878
ENV ACESTREAM_ROOT="/opt/acestream"
ENV LD_LIBRARY_PATH="${ACESTREAM_ROOT}/lib"
CMD ["/opt/acestream/acestreamengine", "--client-console"]