Skip to content
Snippets Groups Projects
Commit 57692f91 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[Deps] manually install netron to get qnt annotation rendering

parent ca3f3446
No related branches found
No related tags found
No related merge requests found
...@@ -50,7 +50,6 @@ COPY requirements.txt . ...@@ -50,7 +50,6 @@ COPY requirements.txt .
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN rm requirements.txt RUN rm requirements.txt
RUN pip install jupyter RUN pip install jupyter
RUN pip install netron
RUN pip install matplotlib RUN pip install matplotlib
RUN pip install pytest-dependency RUN pip install pytest-dependency
RUN pip install sphinx RUN pip install sphinx
...@@ -81,13 +80,26 @@ RUN git clone https://github.com/maltanar/pyverilator /workspace/pyverilator ...@@ -81,13 +80,26 @@ RUN git clone https://github.com/maltanar/pyverilator /workspace/pyverilator
RUN git clone https://github.com/maltanar/PYNQ-HelloWorld.git /workspace/PYNQ-HelloWorld RUN git clone https://github.com/maltanar/PYNQ-HelloWorld.git /workspace/PYNQ-HelloWorld
# oh-my-xilinx # oh-my-xilinx
RUN git clone https://bitbucket.org/maltanar/oh-my-xilinx.git /workspace/oh-my-xilinx RUN git clone https://bitbucket.org/maltanar/oh-my-xilinx.git /workspace/oh-my-xilinx
# netron
RUN git clone https://github.com/lutzroeder/netron.git /workspace/netron
# build and install netron
USER root
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y nodejs
WORKDIR /workspace/netron
RUN git checkout 376e9d33733a3eacfe3c432808fd46e6cd1460cb
RUN npm install
RUN python setup.py build
RUN pip install /workspace/netron
USER $UNAME
# for this developer-oriented Docker container we assume the FINN repo is cloned and mounted from the host # for this developer-oriented Docker container we assume the FINN repo is cloned and mounted from the host
# at /workspace/finn -- see run-docker.sh for an example of how to do this. # at /workspace/finn -- see run-docker.sh for an example of how to do this.
ENV PYTHONPATH "${PYTHONPATH}:/workspace/finn/src" ENV PYTHONPATH "${PYTHONPATH}:/workspace/finn/src"
ENV PYTHONPATH "${PYTHONPATH}:/workspace/pyverilator" ENV PYTHONPATH "${PYTHONPATH}:/workspace/pyverilator"
ENV PYNQSHELL_PATH "/workspace/PYNQ-HelloWorld/boards" ENV PYNQSHELL_PATH "/workspace/PYNQ-HelloWorld/boards"
ENV PATH "${PATH}:/workspace/oh-my-xilinx" ENV PATH "${PATH}:/workspace/oh-my-xilinx:/home/$UNAME/.local/bin"
ENV OHMYXILINX "/workspace/oh-my-xilinx" ENV OHMYXILINX "/workspace/oh-my-xilinx"
WORKDIR /home/$UNAME/finn WORKDIR /home/$UNAME/finn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment