5 ###############################
6 # Get Docker + Docker-Compose #
7 ###############################
8 # Check for updates only once per boot.
9 dpkg-query -W docker-ce docker-compose &>/dev/null || rm -f /tmp/apt_run_this_boot
11 if [ ! -f /tmp/apt_run_this_boot ]; then
13 apt-get install -y -q apt-transport-https vim
15 wget -q "https://download.docker.com/linux/debian/gpg" -O - | apt-key add
16 echo "deb https://download.docker.com/linux/debian stretch stable" > /etc/apt/sources.list.d/docker_com.list
19 apt-get install -y -q docker-ce docker-compose
21 date -Isec > /tmp/apt_run_this_boot
24 #############################
25 # remove running containers #
26 #############################
27 docker rm -f $(docker ps -aq) 2>/dev/null
32 docker-compose -f g6t4.yml up --build -d
37 docker system prune --volumes -f
42 cd /vagrant/camunda-overlay
43 echo "*** camunda.py ***"