| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:d025507456f1d7d19195885b1c02a346454d60c9348cbd3be92431f2d7e2666e in / |
| CMD ["/bin/bash"] |
| ENV DEBIAN_FRONTEND=noninteractive |
| ENV ACESTREAM_VERSION=3.2.3 |
| ENV PYTHONDONTWRITEBYTECODE=1 |
| ENV PYTHONUNBUFFERED=1 |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3.10 net-tools wget curl libpython3.10 libxslt1.1 libc6 libgcc-s1 libstdc++6 zlib1g python3-m2crypto python3-apsw python3-lxml python3-nacl python3-setuptools python3-pkg-resources ffmpeg libavcodec-extra python3-pip netcat-openbsd python3-pycryptodome ca-certificates && apt-get remove -y wget curl && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* && ln -s /usr/lib/python3/dist-packages/Cryptodome /usr/lib/python3/dist-packages/Crypto # buildkit |
| WORKDIR /opt/acestream |
| COPY acestream.tar.gz /opt/acestream/acestream.tar.gz # buildkit |
| RUN /bin/sh -c tar -xzf acestream.tar.gz && rm acestream.tar.gz && if [ -d "acestream_3.2.3_ubuntu_22.04_x86_64_py3.10" ]; then mv acestream_3.2.3_ubuntu_22.04_x86_64_py3.10/* .; rmdir acestream_3.2.3_ubuntu_22.04_x86_64_py3.10; fi # buildkit |
| ENV LD_LIBRARY_PATH=/opt/acestream/lib |
| COPY start.sh /start.sh # buildkit |
| RUN /bin/sh -c chmod +x /start.sh # buildkit |
| EXPOSE [6878/tcp] |
| CMD ["/start.sh"] |