diff --git a/Dockerfile b/Dockerfile
index 734a8fd3f4b6493246f1c7e522da2934d09e849b..a65be3e0c69b82b898c443f600f75e84be3a37d6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -12,8 +12,11 @@ RUN pip install jupyter
 RUN pip install netron
 RUN pip install matplotlib
 RUN pip install pytest-dependency
+RUN apt-get update
+RUN apt-get -y upgrade
 RUN apt-get install -y build-essential libglib2.0-0 libsm6 libxext6 libxrender-dev
 RUN apt install verilator
+RUN pip install sphinx
 
 # Note that we expect the cloned finn directory on the host to be
 # mounted on /workspace/finn -- see run-docker.sh for an example