From 4cbaa92426ffe7d58281fd6cff9e2f4b07edc060 Mon Sep 17 00:00:00 2001
From: Yaman Umuroglu <yamanu@xilinx.com>
Date: Wed, 4 Dec 2019 13:16:50 +0000
Subject: [PATCH] [Docker] install netron, forward port 8081

---
 Dockerfile    | 1 +
 run-docker.sh | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 9386126b8..3d518b568 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,7 @@ RUN pip install -r requirements.txt
 RUN rm requirements.txt
 RUN apt update; apt install nano
 RUN pip install jupyter
+RUN pip install netron
 
 # Note that we expect the cloned finn directory on the host to be
 # mounted on /workspace/finn -- see run-docker.sh for an example
diff --git a/run-docker.sh b/run-docker.sh
index e36fa69fc..c025ab2a2 100755
--- a/run-docker.sh
+++ b/run-docker.sh
@@ -68,5 +68,5 @@ docker run --rm --name finn_dev -it \
 -v $SCRIPTPATH/cnpy:/workspace/cnpy \
 -v $SCRIPTPATH/finn-hlslib:/workspace/finn-hlslib \
 -v $VIVADO_PATH/include:/workspace/vivado-hlslib \
--p 8888:8888 \
+-p 8888:8888 -p 8081:8081 \
 $DOCKER_TAG $DOCKER_CMD
-- 
GitLab