Browse Source

chg: [host] update docker-compose version

postgres
Valentin Lab 6 years ago
parent
commit
fe472aa1d8
  1. 4
      precise/host/hooks/install.d/70-0k.sh

4
precise/host/hooks/install.d/70-0k.sh

@ -130,7 +130,7 @@ if type -p docker-compose >/dev/null; then
docker-compose --version
exit 1
fi
VALID_VERSION_TEXT="docker-compose version 1.6.0dev, build unknown"
VALID_VERSION_TEXT="docker-compose version 1.21.2, build a133471"
if [ "$(docker-compose --version)" != "$VALID_VERSION_TEXT" ]; then
echo "Invalid version of docker-compose: we need exactly:"
echo "version text: $VALID_VERSION_TEXT"
@ -144,7 +144,7 @@ else
cd /opt/apps
git clone https://github.com/docker/compose.git docker-compose &&
cd docker-compose &&
git checkout ea8cc1c3dc47c9ed3bff56c5a8d99175b57af650 ## version pinning
git checkout 0898c783ad2e0d01bd55b47fcb9eb7183edc1015 ## version pinning
)
fi

Loading…
Cancel
Save