Skip to content

Commit

Permalink
Update minimal required docker-version to 1.25.0 per issue #165
Browse files Browse the repository at this point in the history
  • Loading branch information
davidalger committed Jun 19, 2020
1 parent 7dd2075 commit 4ae0558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/warden
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ containsElement () {
}

## define environment requirements
readonly WARDEN_REQUIRED_DOCKER_COMPOSE="1.18.0"
readonly WARDEN_REQUIRED_DOCKER_COMPOSE="1.25.0"

## define and export global shared directory paths
export readonly WARDEN_HOME_DIR="${WARDEN_HOME_DIR:-"$HOME/.warden"}"
Expand Down
2 changes: 1 addition & 1 deletion commands/install.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

DOCKER_COMPOSE_VERSION="$(docker-compose -v | grep -oE '[0-9\.]+' | head -n1)"
if ! test $(version ${DOCKER_COMPOSE_VERSION}) -ge $(version ${WARDEN_REQUIRED_DOCKER_COMPOSE}); then
echo -e "\033[31mdocker-compose version should be $WARDEN_REQUIRED_DOCKER_COMPOSE or higher ($DOCKER_COMPOSE_VERSION installed)" && exit 1
echo -e "\033[31mdocker-compose version should be ${WARDEN_REQUIRED_DOCKER_COMPOSE} or higher (${DOCKER_COMPOSE_VERSION} installed)" && exit 1
fi

if [[ ! -d "${WARDEN_SSL_DIR}/rootca" ]]; then
Expand Down

0 comments on commit 4ae0558

Please sign in to comment.