29 lines
1013 B
Docker
29 lines
1013 B
Docker
FROM ubuntu:22.04 as builder
|
|
|
|
ARG VERSION="acestream_3.2.3_ubuntu_22.04_x86_64_py3.10"
|
|
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 --no-check-certificate -O- "https://download.acestream.media/linux/acestream_3.2.3_ubuntu_22.04_x86_64_py3.10.tar.gz" | \
|
|
tar -xz -C /opt/acestream
|
|
|
|
# actual image
|
|
FROM ubuntu:22.04
|
|
LABEL maintainer="Jack Liar <zhigu1017@gmail.com>"
|
|
RUN apt-get update --yes && \
|
|
apt-get install --no-install-recommends --yes \
|
|
apt-utils python3-setuptools python3-m2crypto python3-apsw python3-lxml python3-nacl python3-pip libpython3.10 net-tools libxslt1.1 && \
|
|
apt-get clean && \
|
|
rm --force --recursive /var/lib/apt/lists
|
|
RUN pip install pycryptodome
|
|
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"]
|