Ubuntu 14.04 compiling untrunc (https://github.com/ponchio/untrunc)
345
FROM ubuntu:14.04
RUN \
apt-get update \
&& apt-get install -y ca-certificates wget unzip g++ build-essential
RUN \
apt-get install -y yasm \
&& wget http://libav.org/releases/libav-12.2.tar.xz \
&& tar -xf libav-12.2.tar.xz \
&& cd libav-12.2 \
&& ./configure \
&& make \
&& apt-get remove -y yasm \
&& cd ../
RUN \
wget https://github.com/ponchio/untrunc/archive/master.zip \
&& unzip master.zip \
&& cd untrunc-master \
&& mv ../libav-12.2 .
RUN \
cd untrunc-master \
&& g++ -g -std=gnu++98 -O3 -o untrunc file.cpp main.cpp track.cpp atom.cpp mp4.cpp -I./libav-12.2 -L./libav-12.2/libavformat -lavformat -L./libav-12.2/libavcodec -lavcodec -L./libav-12.2/libavutil -lavutil -lpthread -L./libav-12.2/libavresample -lavresample \
&& cp untrunc /usr/local/bin/
CMD [ "untrunc" ]
Content type
Image
Digest
Size
419.4 MB
Last updated
almost 9 years ago
docker pull swcc/untrunc