view Dockerfile @ 96:0ff35d4c6480

merge
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Fri, 29 Jan 2016 05:37:11 +0900
parents 4dfa04d14221
children c53f105a48c1
line wrap: on
line source

# docker build -t gears .  # build container
# docker run gears         # launch container and attach

FROM fedora

WORKDIR /root
RUN dnf update -y
RUN dnf install -y gcc gcc-c++ mercurial git vim zsh tar findutils make gdb cmake
RUN hg clone http://firefly.cr.ie.u-ryukyu.ac.jp/hg/CbC/CbC_llvm
RUN mkdir /root/llvm_build
WORKDIR /root/llvm_build
RUN /root/CbC_llvm/configure --enable-assertions
RUN make -j 2
RUN make install

WORKDIR /root
RUN git clone https://github.com/choller/llcov

CMD zsh