Docker try 2

This commit is contained in:
AurelienUoU 2019-07-22 13:06:46 -06:00
parent 52b754f9c1
commit 7d469d8b4f
1 changed files with 6 additions and 5 deletions

View File

@ -5,11 +5,12 @@ RUN apt-get -y install python3 python3-dev tcl tcl8.6-dev gawk libreadline-dev
RUN apt-get -y install autoconf automake bison build-essential cmake ctags curl doxygen flex fontconfig g++-4.9 gcc-4.9 gdb git gtkwave gperf iverilog libffi-dev libcairo2-dev libevent-dev libfontconfig1-dev liblist-moreutils-perl libncurses5-dev libx11-dev libxft-dev libxml++2.6-dev perl texinfo time valgrind zip qt5-default
RUN git clone https://github.com/LNIS-Projects/OpenFPGA.git
RUN cd OpenFPGA
RUN mkdir -p build && cd build
RUN cmake .. -DCMAKE_BUILD_TYPE=debug
RUN make
RUN echo "git clone https://github.com/LNIS-Projects/OpenFPGA.git" >> build.sh
RUN echo "cd OpenFPGA" >> build.sh
RUN echo "mkdir -p build && cd build" >> build.sh
RUN echo "cmake .. -DCMAKE_BUILD_TYPE=debug" >> build.sh
RUN echo "make" >> build.sh
RUN chmod +x build.sh
RUN ./build.sh
WORKDIR /OpenFPGA