Prefer docker compose v2
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f16a4574c1
commit
3380d1a68e
@ -2,10 +2,10 @@
|
||||
# Verifies that files passed in are valid for docker-compose
|
||||
set -e
|
||||
|
||||
if command -v docker-compose &> /dev/null ; then
|
||||
COMPOSE=docker-compose
|
||||
elif command -v docker &> /dev/null && docker help compose &> /dev/null; then
|
||||
if command -v docker &> /dev/null && docker help compose &> /dev/null; then
|
||||
COMPOSE="docker compose"
|
||||
elif command -v docker-compose &> /dev/null ; then
|
||||
COMPOSE=docker-compose
|
||||
else
|
||||
echo "ERROR: Neither 'docker-compose' or 'docker compose' were found"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user