2020-07-09 10:25:11 -05:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y clang \
|
|
|
|
bison \
|
|
|
|
flex \
|
|
|
|
libreadline-dev \
|
|
|
|
gawk \
|
|
|
|
tcl-dev \
|
|
|
|
libffi-dev \
|
|
|
|
git \
|
|
|
|
pkg-config \
|
|
|
|
python3
|
2019-06-11 12:26:44 -05:00
|
|
|
|
2020-07-09 10:25:11 -05:00
|
|
|
RUN apt-get -y install autoconf automake bison build-essential cmake ctags curl doxygen flex fontconfig 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-08-16 15:14:16 -05:00
|
|
|
RUN mkdir -p /release /dev
|
2019-06-11 12:26:44 -05:00
|
|
|
|
2019-08-17 17:22:52 -05:00
|
|
|
RUN cd release && git clone --single-branch --branch master https://github.com/LNIS-Projects/OpenFPGA.git OpenFPGA
|
2019-08-16 15:14:16 -05:00
|
|
|
|
2020-01-05 15:02:38 -06:00
|
|
|
RUN cd /release/OpenFPGA && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=debug -DCMAKE_NO_GRAPHICS=on && make
|
2019-08-16 15:14:16 -05:00
|
|
|
|
|
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2020-01-05 15:02:38 -06:00
|
|
|
WORKDIR /release/OpenFPGA
|