Browse Source

chg: [host] update docker-compose version

postgres
Valentin Lab 7 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 docker-compose --version
exit 1 exit 1
fi 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 if [ "$(docker-compose --version)" != "$VALID_VERSION_TEXT" ]; then
echo "Invalid version of docker-compose: we need exactly:" echo "Invalid version of docker-compose: we need exactly:"
echo "version text: $VALID_VERSION_TEXT" echo "version text: $VALID_VERSION_TEXT"
@ -144,7 +144,7 @@ else
cd /opt/apps cd /opt/apps
git clone https://github.com/docker/compose.git docker-compose && git clone https://github.com/docker/compose.git docker-compose &&
cd docker-compose && cd docker-compose &&
git checkout ea8cc1c3dc47c9ed3bff56c5a8d99175b57af650 ## version pinning
git checkout 0898c783ad2e0d01bd55b47fcb9eb7183edc1015 ## version pinning
) )
fi fi

Loading…
Cancel
Save