#!/bin/bash set -eux apt-get update apt-get install -y --no-install-recommends \ apt-transport-https \ ca-certificates \ curl \ software-properties-common \ python-minimal zip python-simplejson \ gnupg2 \ software-properties-common apt-get remove docker docker-engine docker.io curl -fsSL get.docker.com -o get-docker.sh sh get-docker.sh # install docker-compose curl -L "https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && \ chmod +x /usr/local/bin/docker-compose usermod -G docker vagrant