view Dockerfile @ 125:77e60b6cdace

Work dependency example
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 27 Sep 2016 17:22:00 +0900
parents c53f105a48c1
children
line wrap: on
line source

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

FROM fedora:23

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