-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
43 lines (33 loc) · 1.38 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
33
34
35
36
37
38
39
40
41
42
# syntax=docker/dockerfile:1
FROM ubuntu:22.04
LABEL \
maintainer="Martin Bjeldbak Madsen <[email protected]>" \
org.opencontainers.image.title="acestream-http-proxy" \
org.opencontainers.image.description="Stream AceStream sources on macOS and other systems without needing to install AceStream player" \
org.opencontainers.image.authors="Martin Bjeldbak Madsen <[email protected]>" \
org.opencontainers.image.url="https://github.com/martinbjeldbak/acestream-http-proxy" \
org.opencontainers.image.vendor="https://martinbjeldbak.com"
ENV ACESTREAM_VERSION="3.2.3_ubuntu_22.04_x86_64_py3.10"
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install acestream dependencies
RUN apt-get update \
&& apt-get install --no-install-recommends -y \
python3.10 ca-certificates wget sudo \
&& rm -rf /var/lib/apt/lists/* \
#
# Download acestream
&& wget --progress=dot:giga "https://download.acestream.media/linux/acestream_${ACESTREAM_VERSION}.tar.gz" \
&& mkdir acestream \
&& tar zxf "acestream_${ACESTREAM_VERSION}.tar.gz" -C acestream \
&& rm "acestream_${ACESTREAM_VERSION}.tar.gz" \
&& mv acestream /opt/acestream \
&& pushd /opt/acestream || exit \
&& bash ./install_dependencies.sh \
&& popd || exit
ENV ALLOW_REMOTE_ACCESS="no"
ENV HTTP_PORT=6878
ENV EXTRA_FLAGS=''
COPY run.sh /
ENTRYPOINT ["/usr/bin/bash"]
CMD ["/run.sh"]
EXPOSE 6878/tcp