| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:7121eb4a5ba391efb4ba9a38c532d1c5dc2d22d276f04e062f357eea36ee62c4 in / |
| CMD ["/bin/bash"] |
| RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libgstreamer1.0-0 libgstreamer-plugins-base1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-plugins-ugly gstreamer1.0-tools && rm -rf /var/lib/apt/lists/* # buildkit |
| COPY /src/version /tmp/matroska.version # buildkit |
| COPY /src/gst-plugins-good/build/gst/matroska/libgstmatroska.so /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmatroska.so # buildkit |
| RUN /bin/sh -c test "$(dpkg-query -W -f '${Version}' gstreamer1.0-plugins-good)" = "$(cat /tmp/matroska.version)" && gst-inspect-1.0 matroskademux >/dev/null && rm /tmp/matroska.version # buildkit |
| WORKDIR /app |
| COPY /out/TorrServer /app/TorrServer # buildkit |
| COPY /checks/passed /usr/share/torrserver/native-checks-passed # buildkit |
| COPY LICENSE UPSTREAM.json /usr/share/torrserver/ # buildkit |
| RUN /bin/sh -c chmod 755 /app/TorrServer && mkdir -p /data /cache # buildkit |
| EXPOSE [32100/tcp 32100/udp 8070/tcp] |
| CMD ["/app/TorrServer" "--path" "/data" "--port" "8070" "--httpauth"] |