Skip to content

Commit

Permalink
Update docker-compose installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
abmruman committed Feb 19, 2020
1 parent 09e6c34 commit 094d5d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/install-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
set -ev

if [ -z "$DOCKER_COMPOSE_VERSION" ]; then
DOCKER_COMPOSE_VERSION=1.23.1
DOCKER_COMPOSE_VERSION=1.25.4
fi

echo "Installing docker-compose version: $DOCKER_COMPOSE_VERSION"

sudo rm /usr/local/bin/docker-compose
sudo rm /usr/local/bin/docker-compose | echo
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 chmod +x docker-compose
sudo mv docker-compose /usr/local/bin

0 comments on commit 094d5d0

Please sign in to comment.