Initial commit
This commit is contained in:
commit
fd1dc2cd55
29
Dockerfile
Normal file
29
Dockerfile
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
FROM debian:bookworm
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install -yqq autoconf \
|
||||||
|
automake \
|
||||||
|
build-essential \
|
||||||
|
cmake \
|
||||||
|
git-core \
|
||||||
|
libtool \
|
||||||
|
libunistring-dev \
|
||||||
|
meson \
|
||||||
|
ninja-build \
|
||||||
|
pkg-config \
|
||||||
|
texinfo \
|
||||||
|
wget \
|
||||||
|
yasm
|
||||||
|
|
||||||
|
WORKDIR /opt/ffmpeg-sources
|
||||||
|
RUN wget https://ffmpeg.org/releases/ffmpeg-6.1.tar.xz && tar -xJvf ffmpeg-6.1.tar.xz
|
||||||
|
WORKDIR /opt/ffmpeg-sources/ffmpeg-6.1
|
||||||
|
|
||||||
|
RUN ./configure --pkg-config-flags="--static" --extra-libs="-lpthread -lm" --ld="g++" \
|
||||||
|
--prefix="/opt/ffmpeg-build" --enable-shared --disable-static \
|
||||||
|
--disable-doc --disable-network \
|
||||||
|
--disable-zlib --disable-lzma --disable-bzlib --disable-bsfs --disable-v4l2-m2m
|
||||||
|
|
||||||
|
RUN make -j16
|
||||||
|
|
||||||
|
RUN make install
|
Loading…
Reference in New Issue
Block a user