From 86f7b4eec6debdf8b29e92a9d628164f16b938ed Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Thu, 17 Aug 2017 12:20:26 -0700 Subject: Add docker-compose for CSIT environments Change-Id: Ieb80618426b3e7755b5fbacf21c2ef697b137921 Issue-id: CIMAN-24 Signed-off-by: Gary Wu --- packer/provision/docker.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'packer') diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh index 117c436aa..739ba4293 100644 --- a/packer/provision/docker.sh +++ b/packer/provision/docker.sh @@ -40,7 +40,10 @@ ubuntu_systems() { } all_systems() { - echo 'No common distribution configuration to perform' + # Install docker-compose + curl -o /usr/local/bin/docker-compose -L "https://github.com/docker/compose/releases/download/1.15.0/docker-compose-$(uname -s)-$(uname -m)" + chmod +x /usr/local/bin/docker-compose + docker-compose -v } echo "---> Detecting OS" -- cgit 1.2.3-korg