FROM git.byte-mate.ru/drholy/arm64v8/debian:bookworm ENV TARGET=embedded ENV DISTRO=bookworm COPY scripts/install-base-deps.sh /opt/scripts/ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ --mount=type=cache,target=/var/lib/apt,sharing=locked \ /bin/sh -c /opt/scripts/install-base-deps.sh RUN git clone https://code.videolan.org/videolan/dav1d /opt/dav1d && cd /opt/dav1d && git checkout b546257 RUN git clone -b SDL2 https://github.com/libsdl-org/SDL /opt/SDL2 && cd /opt/SDL2 && git checkout dd01e096e9 RUN git clone -b SDL2 https://github.com/libsdl-org/SDL_ttf /opt/SDL_ttf && cd /opt/SDL_ttf && git checkout 4a318f8dfaa1bb6f10e0c5e54052e25d3c7f3440 RUN git clone -b jellyfin-mpp --depth=1 https://gitee.com/nyanmisaka/mpp.git /opt/rkmpp RUN git clone -b jellyfin-rga --depth=1 https://gitee.com/nyanmisaka/rga.git /opt/rkrga RUN git clone --depth=1 https://github.com/nyanmisaka/ffmpeg-rockchip.git /opt/ffmpeg #RUN git clone https://git.byte-mate.ru/drholy/moonlight-qt.git /opt/moonlight-qt && cd /opt/moonlight-qt && git checkout master && git log -1 && git -c submodule.libs.update=none submodule update --init --recursive RUN git clone https://github.com/m33ts4k0z/moonlight-qt-rk /opt/moonlight-qt && cd /opt/moonlight-qt && git checkout master && git log -1 && git -c submodule.libs.update=none submodule update --init --recursive COPY scripts/build-deps-ffmpeg.sh /opt/scripts/ RUN ["/bin/sh", "-c", "/opt/scripts/build-deps-ffmpeg.sh"] COPY scripts/build-package.sh /opt/scripts/ VOLUME "/out" ENTRYPOINT [ "/bin/sh", "-c", "/opt/scripts/build-package.sh" ]