Add docker-compose for CSIT environments
Change-Id: Ieb80618426b3e7755b5fbacf21c2ef697b137921
Issue-id: CIMAN-24
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
diff --git a/packer/provision/docker.sh b/packer/provision/docker.sh
index 117c436..739ba42 100644
--- a/packer/provision/docker.sh
+++ b/packer/provision/docker.sh
@@ -40,7 +40,10 @@
}
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"