# Install protocol buffer
RUN apt install -y libprotobuf-dev protobuf-compiler
+
+# Install extra dependencies
+RUN apt install -y libgflags-dev # Caffe
+RUN apt install -y libgoogle-glog-dev # Caffe
+RUN apt install -y libhdf5-dev # Caffe, nnkit
+RUN apt install -y libboost-system-dev # Caffe
+RUN apt install -y libboost-filesystem-dev # Caffe
+RUN apt install -y libboost-thread-dev # Caffe
+RUN apt install -y libatlas-base-dev # Caffe
+
+# Clean archives (to reduce image size)
+RUN apt-get clean -y