Use docker for Linxu builds and link to musl

This commit is contained in:
CDrummond committed 2025-09-24 22:18:46 +01:00
1 parent 849fbe92fa
commit d7da5dcd95
14 files changed
+113 -209

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
FROM debian:bookworm
RUN apt-get update
RUN apt-get install -y curl git pkg-config yasm
RUN apt-get install -y build-essential clang
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin/:${PATH}"
RUN rustup target add x86_64-unknown-linux-musl
RUN mkdir /build
ENV CARGO_TARGET_DIR /build
ENV CARGO_HOME /build/cache
RUN mkdir /src
WORKDIR /src
CMD ["/src/docker/docker-build-x86-ffmpeg.sh"]