We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e6c838 commit 0c2ddbeCopy full SHA for 0c2ddbe
docker_compose_test/docker_compose_test.sh
@@ -72,7 +72,7 @@ echo "$docker_compose_up_cmd" | bash
72
result=$?
73
74
# Figure out the exit code of the test container incase it never actually started.
75
-EXIT_CODE=$(docker inspect $(docker compose -f $ABSOLUTE_COMPOSE_FILE_PATH ps -qa $DOCKER_COMPOSE_TEST_CONTAINER) --format='{{.State.ExitCode}}' 2>/dev/null)
+EXIT_CODE=$(docker inspect $($docker_compose_bin -f $ABSOLUTE_COMPOSE_FILE_PATH ps -qa $DOCKER_COMPOSE_TEST_CONTAINER) --format='{{.State.ExitCode}}' 2>/dev/null)
76
if [ "$EXIT_CODE" != "0" ] || [ -z "$EXIT_CODE" ]; then
77
echo "Error: $DOCKER_COMPOSE_TEST_CONTAINER container failed or never started!"
78
exit 1
0 commit comments