Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto committed Jul 5, 2016
1 parent 051e787 commit 955fcf0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ubuntu:xenial
RUN apt-get update
RUN apt-get -y install gcc-4.9 g++-4.9 cmake make python git

RUN mkdir /src
ADD . /src

RUN mkdir /build
WORKDIR /build
RUN cmake -DCMAKE_BUILD_TYPE=MinSizeRel /src -DCMAKE_CXX_COMPILER=g++-4.9 -DCMAKE_C_COMPILER=gcc-4.9
RUN make
RUN make install
RUN rm -rf /src

0 comments on commit 955fcf0

Please sign in to comment.