From f81a545cf1970efb8eb1cc622f67ff9322be47a2 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sun, 13 Mar 2016 17:16:14 +0200
Subject: [PATCH] - Basic infrastructure for creating slideshow. - Take
 advatange of pre-installed apt-transport-https to have faster Vagrant  
 provisioning.

---
 .gitignore    |  1 +
 Makefile      | 10 ++++++++++
 README.rst    |  1 +
 Vagrantfile   |  4 +---
 slideshow.rst |  2 ++
 5 files changed, 15 insertions(+), 3 deletions(-)
 create mode 100644 Makefile
 create mode 100644 slideshow.rst

diff --git a/.gitignore b/.gitignore
index 4a69ea4..82ae82b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
 __pycache__/
 *.log
 .vagrant/
+slideshow.pdf
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..ae2b4b3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+.PHONY: all clean
+.DEFAULT_GOAL := all
+
+clean:
+	rm -rf slideshow.pdf
+
+all: slideshow.pdf
+
+slideshow.pdf:
+	pandoc -t beamer slideshow.rst -o slideshow.pdf
diff --git a/README.rst b/README.rst
index b65a6b5..feca482 100644
--- a/README.rst
+++ b/README.rst
@@ -7,3 +7,4 @@ TODO
 ----
 
 - Presentation.
+- Some documentation.
diff --git a/Vagrantfile b/Vagrantfile
index 5ddd671..c9a37da 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -4,12 +4,10 @@
 Vagrant.configure(2) do |config|
   config.vm.box = "ubuntu/trusty64"
   config.vm.provision "shell", inline: <<-SHELL
-    sudo apt-get update
-    sudo apt-get install -yf git python-dev python-pip apt-transport-https ca-certificates
     sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
     echo 'deb https://apt.dockerproject.org/repo ubuntu-trusty main' | sudo tee /etc/apt/sources.list.d/docker.list
     sudo apt-get update
-    sudo apt-get install -yf docker-engine
+    sudo apt-get install -yf git python-dev python-pip apt-transport-https ca-certificates pandoc texlive-latex-base texlive-fonts-recommended texlive-latex-recommended docker-engine
     sudo pip install docker-compose
     sudo sed -i 's/DEFAULT_FORWARD_POLICY=.*/DEFAULT_FORWARD_POLICY="ACCEPT"/g' /etc/default/ufw
     sudo service ufw restart
diff --git a/slideshow.rst b/slideshow.rst
new file mode 100644
index 0000000..51164b9
--- /dev/null
+++ b/slideshow.rst
@@ -0,0 +1,2 @@
+Docker introduction
+###################
-- 
GitLab