Cullen JenningsUpdate Dockerfilef9bfb3111 years agoHistory
51 lines · 1.6 KB · Dockerfile
RawDownload
# This is a docker image with all the tools to build openh264 for linux  # build the docker image with: sudo docker build -t openh264tools - < Dockerfile # get the result with: sudo docker run -t -i -v /tmp/openH264:/build openh264tools /bin/cp libopenh264.so log /build# the results will be left in /tmp/openH264# have a look at log file and if the hash match the "Fluffy got" hashes FROM ubuntu:14.04MAINTAINER Cullen Jennings <fluffy@cisco.com>RUN apt-get updateRUN apt-get upgrade -yRUN apt-get install -y bison flex g++ gcc git libgmp3-dev libmpc-dev libmpfr-dev libz-dev make wget WORKDIR /tmpRUN wget http://ftp.gnu.org/gnu/gcc/gcc-4.9.2/gcc-4.9.2.tar.gzRUN tar xvfz gcc-4.9.2.tar.gzWORKDIR /tmp/gcc-4.9.2/RUN mkdir build WORKDIR /tmp/gcc-4.9.2/buildRUN ../configure --disable-checking --enable-languages=c,c++ --enable-multiarch --enable-shared --enable-threads=posix  --with-gmp=/usr/local/lib --with-mpc=/usr/lib --with-mpfr=/usr/lib --without-included-gettext --with-system-zlib --with-tune=generic --disable-multilib --disable-nlsRUN make -j 8 RUN make install  WORKDIR	 /tmpRUN wget http://www.nasm.us/pub/nasm/releasebuilds/2.11.06/nasm-2.11.06.tar.gzRUN tar xvfz nasm-2.11.06.tar.gz WORKDIR /tmp/nasm-2.11.06/RUN ./configureRUN makeRUN make install  WORKDIR /tmpRUN git clone https://github.com/cisco/openh264.gitWORKDIR /tmp/openh264RUN git checkout v1.1RUN make ENABLE64BIT=Yes RUN date > log RUN uname -a >> log RUN nasm -v >> log RUN gcc -v 2>> logRUN git status -v >> log RUN openssl dgst -sha1 libopenh264.so >> logRUN echo "Fluffy Got hash of  - 3b6280fce36111ab9c911453f4ee1fd99ce6f841" >> log      

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t