first commit
This commit is contained in:
commit
c30064b531
93 files changed
+26367
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user