summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-08-17 12:20:26 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-08-17 12:20:26 -0700
commit86f7b4eec6debdf8b29e92a9d628164f16b938ed (patch)
tree1a17aa3978345c0197b225532c0812b4cba3ee1a
parent3af0c561da4a854764a2453e2f019d2bff089dda (diff)
Add docker-compose for CSIT environments
Change-Id: Ieb80618426b3e7755b5fbacf21c2ef697b137921 Issue-id: CIMAN-24 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
-rw-r--r--packer/provision/docker.sh5
1 files changed, 4 insertions, 1 deletions
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"