twitter / vireo

Vireo is a lightweight and versatile video processing library written in C++11
MIT License
932 stars 111 forks source link

Add Dockerfile #33

Open ytimoumi opened 3 years ago

ytimoumi commented 3 years ago

You can compile vireo with docker ...

FROM ubuntu:16.04 RUN mkdir ytimoumi WORKDIR ./ytimoumi RUN apt-get update && apt-get -y install autoconf automake build-essential pkg-config git RUN apt-get -y install libpng-dev libjpeg-dev libfdk-aac-dev libvpx-dev libogg-dev libvorbis-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libx264-dev \ && export TERM=xterm \ && git clone https://github.com/twitter/vireo.git \ && git clone https://github.com/l-smash/l-smash.git \ && cd l-smash && git fetch --all --tags --prune && git checkout tags/v2.9.1 && ./configure --enable-shared && make && make install && ldconfig \ && cd ../vireo/vireo && export PREFIX=/usr/local/ && ./configure --prefix=$PREFIX && make && make install

33 && cd ../vireo/vireo && export PREFIX=/usr/local/ && ./configure --prefix=$PREFIX --enable-gpl && make && make install

33 Build : docker build -t ytimoumi/vireo .

33 Run : docker run -it ytimoumi/vireo bash