OpenFPGA/Dockerfile

17 lines
776 B
Docker
Raw Normal View History

2019-06-11 12:26:44 -05:00
FROM ubuntu:16.04
RUN apt-get update -qq -y
RUN apt-get -y install python3 python3-dev tcl tcl8.6-dev gawk libreadline-dev
2019-07-12 15:56:08 -05:00
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
2019-06-11 12:26:44 -05:00
2019-07-16 21:13:46 -05:00
RUN echo "git clone https://github.com/LNIS-Projects/OpenFPGA.git" >> build.sh
RUN echo "cd OpenFPGA" >> build.sh
2019-07-16 21:04:04 -05:00
RUN echo "mkdir -p build && cd build" >> build.sh
2019-07-16 20:32:06 -05:00
RUN echo "cmake .. -DCMAKE_BUILD_TYPE=debug" >> build.sh
RUN echo "make" >> build.sh
RUN chmod +x build.sh
2019-07-16 20:56:13 -05:00
RUN ./build.sh
2019-06-11 12:26:44 -05:00
2019-07-17 08:33:30 -05:00
VOLUME /OpenFPGA