Clone ffmpeg from github for classic image
This commit is contained in:
@@ -10,8 +10,8 @@ RUN apk -U add build-base git nasm pkgconf
|
||||
RUN mkdir -p /ffmpeg_sources /ffmpeg_build
|
||||
WORKDIR /ffmpeg_sources
|
||||
ARG FFMPEG_BRANCH
|
||||
RUN git clone --depth=1 -b "$FFMPEG_BRANCH" https://git.ffmpeg.org/ffmpeg.git
|
||||
WORKDIR /ffmpeg_sources/ffmpeg
|
||||
RUN git clone --depth=1 -b "$FFMPEG_BRANCH" https://github.com/FFmpeg/FFmpeg
|
||||
WORKDIR /ffmpeg_sources/FFmpeg
|
||||
RUN ./configure \
|
||||
--prefix="/ffmpeg_build" \
|
||||
--extra-libs="-lpthread -lm" \
|
||||
|
||||
Reference in New Issue
Block a user