From 76d3cedc2ceafcb47db5db5f746670c532fd1635 Mon Sep 17 00:00:00 2001
From: Giuseppe Attardi <attardi@garr.it>
Date: Thu, 14 Mar 2019 13:07:57 +0100
Subject: [PATCH] No docker-ce

---
 2_install_libs.sh | 25 ++-----------------------
 1 file changed, 2 insertions(+), 23 deletions(-)

diff --git a/2_install_libs.sh b/2_install_libs.sh
index a8e5f6d..4c8af17 100755
--- a/2_install_libs.sh
+++ b/2_install_libs.sh
@@ -107,8 +107,6 @@ pip install numpy six libprotobuf-dev tensorflow-tensorboard autograd
 pip install --upgrade dateutils
 
 pip install tensorflow-gpu  # Python 3.n;  GPU support
-#apt install cuda-9-0 # version 1.5 requires cuda 9.0
-#pip install --upgrade tensorflow-gpu	# version 1.5 requires cuda 9.0
 
 echo "Installed TensorFlow"
 
@@ -140,13 +138,13 @@ echo "Installed PyTorch"
 ####################################
 
 if [ $VER == '18.04']; then
-    apt install caffe-cuda
+    apt install -y caffe-cuda
 else
    apt install -y libprotobuf-dev libleveldb-dev \
      libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev \
      libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler \
      libatlas-base-dev libyaml-dev 
-   apt install --no-install-recommends libboost-all-dev
+   apt install -y --no-install-recommends libboost-all-dev
 
    git clone https://github.com/BVLC/caffe.git
 
@@ -198,23 +196,4 @@ echo "Glove installed"
 pip install jupyter oauthenticator
 echo "Jupyter installed"
 
-# Nvidia GPU Cloud
-
-# Install Docker CE
-# see https://docs.docker.com/install/linux/docker-ee/ubuntu/
-sudo apt install apt-transport-https ca-certificates \
-     curl software-properties-common
-# Add Docker’s official GPG key:
-curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
-# Verify that you now have the key with the fingerprint:
-sudo apt-key fingerprint 0EBFCD88
-# set up the stable repository:
-sudo add-apt-repository \
-        "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
-   $(lsb_release -cs) \
-   stable"
-sudo apt update
-# Install the latest version of Docker CE
-sudo apt install -y docker-ce
-
 echo "all done."
-- 
GitLab