emscripten_docker/ffmpeg_gcc/Dockerfile

12 lines
335 B
Docker
Raw Permalink Normal View History

#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