aboutsummaryrefslogtreecommitdiff
path: root/test/docker-outside-of-docker/docker_dash_compose_v2.sh
diff options
context:
space:
mode:
authorM. R <2947595+m-roberts@users.noreply.github.com>2023-05-02 22:00:45 +0300
committerGitHub <noreply@github.com>2023-05-02 22:00:45 +0300
commit4312340798680a2b148847b124fcf737e5839c2e (patch)
tree60685df52a1f8b197a78e0dffa553ccb0463ba4f /test/docker-outside-of-docker/docker_dash_compose_v2.sh
parentb16ff1efb7b092c73ab1e13c3d016d1ab7a9e4b6 (diff)
Add support for skipping `docker-compose` v1 operations during Docker feature install script (#533)feature_docker-outside-of-docker_1.3.0feature_docker-in-docker_2.2.0
* Add support for skipping docker-compose operations * Move changes from auto-generated files to templates and bump version * Add test * Add test conditions * Add test conditions for docker-outside-of-docker * install.sh set -x for debugging * set -x * Move compose-switch check in docker-outside-of-docker test * Put into correct test * Test for correct path
Diffstat (limited to 'test/docker-outside-of-docker/docker_dash_compose_v2.sh')
-rwxr-xr-xtest/docker-outside-of-docker/docker_dash_compose_v2.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/docker-outside-of-docker/docker_dash_compose_v2.sh b/test/docker-outside-of-docker/docker_dash_compose_v2.sh
index 8f2a104..b24238f 100755
--- a/test/docker-outside-of-docker/docker_dash_compose_v2.sh
+++ b/test/docker-outside-of-docker/docker_dash_compose_v2.sh
@@ -9,5 +9,7 @@ source dev-container-features-test-lib
check "docker compose" bash -c "docker compose version | grep -E '2.[0-9]+.[0-9]+'"
check "docker-compose" bash -c "docker-compose --version | grep -E '2.[0-9]+.[0-9]+'"
+check "installs compose-switch as docker-compose" bash -c "[[ -f /usr/local/bin/docker-compose ]]"
+
# Report result
reportResults