1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-01 07:55:21 +01:00
js-bigchaindb-driver/.ci/travis-before-install.sh
2018-08-10 12:49:26 +02:00

14 lines
500 B
Bash
Executable File

#!/bin/bash
# Copyright BigchainDB GmbH and BigchainDB contributors
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
# Code is Apache-2.0 and docs are CC-BY-4.0
sudo apt-get update
sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
sudo rm /usr/local/bin/docker-compose
curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin