ffmpeg-min/Dockerfile
Anton 56f288c19a
Some checks failed
Publish Docker image / Push Docker image to the registry (push) Failing after 10m40s
Remove -lm
2024-05-24 20:16:29 +03:00

30 lines
691 B
Docker

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" --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