12 lines
335 B
Docker
12 lines
335 B
Docker
#https://jeromewu.github.io/build-ffmpeg-webassembly-version-part-1-preparation/
|
|
|
|
FROM gcc:8
|
|
|
|
ENV FFMPEG_VERSION=n4.4
|
|
|
|
# Use depth=1 to download only the latest version
|
|
RUN git clone --depth 1 --branch $FFMPEG_VERSION https://github.com/FFmpeg/FFmpeg /opt/ffmpeg
|
|
|
|
COPY build.sh /opt/ffmpeg/build.sh
|
|
|
|
RUN cd /opt/ffmpeg && bash build.sh |