first commit
build / test (push) Canceled after 0s
build / deb (amd64) (push) Canceled after 0s
build / deb (arm64) (push) Canceled after 0s
build / deb (armhf) (push) Canceled after 0s

This commit is contained in:
Mateusz Gruszczyński committed 2026-11-16 16:19:21 +01:00
commit c30064b531
93 files changed
+26367

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
# Builder image for simply-dvb .deb packages (amd64, arm64, armhf) – used by scripts/build-deb.sh.
# Contains: Rust + targets, zig (cross-compilation with a fixed glibc baseline), cargo-zigbuild, cargo-deb.
FROM rust:1-bookworm
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3-pip dpkg-dev \
&& rm -rf /var/lib/apt/lists/* \
&& pip3 install --no-cache-dir --break-system-packages ziglang \
&& printf '#!/bin/sh\nexec python3 -m ziglang "$@"\n' > /usr/local/bin/zig \
&& chmod 755 /usr/local/bin/zig \
&& rustup target add x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu armv7-unknown-linux-gnueabihf \
&& cargo install --locked cargo-deb cargo-zigbuild \
&& rm -rf /usr/local/cargo/registry /usr/local/cargo/git \
&& chmod -R a+rX /usr/local/cargo /usr/local/rustup
ENV SIMPLY_DVB_IN_DOCKER=1
WORKDIR /src