FROM trzeci/emscripten:1.39.18-upstream ENV FFMPEG_VERSION=n4.4 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