update build

This commit is contained in:
Alf
2020-10-03 21:31:48 -07:00
parent a89b00d219
commit 7f6392bdcb
4 changed files with 12 additions and 12 deletions

View File

@@ -77,15 +77,10 @@ RUN cd /tmp/ffmpeg-${FFMPEG_VERSION} && \
emmake make -j4 && \
emmake make install
# RUN cd /build && \
# emcc -L/opt/ffmpeg/lib -I/opt/ffmpeg/include/ src/main.c \
# -s EXPORTED_FUNCTIONS='["_version", "_openfile"]' \
# -s EXTRA_EXPORTED_RUNTIME_METHODS="[FS, cwrap, ccall, setValue, writeAsciiToMemory]" \
# -s INITIAL_MEMORY=268435456 \
# -lavcodec -lavformat -lavfilter -lavdevice -lswresample -lswscale -lavutil -lm -lx264 -pthread \
# -o ffprobe-web-analyzer.js
COPY ./src/ffprobe-web-analyzer-wrapper.cpp /build/src/ffprobe-web-analyzer-wrapper.cpp
COPY ./Makefile /build/Makefile
WORKDIR /build
# COPY ./src/main.c /build/src/main.c
COPY ./Makefile /build/Makefile
# RUN make
RUN make