aboutsummaryrefslogtreecommitdiff
path: root/test/docker-in-docker/docker_build_no_compose.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker-in-docker/docker_build_no_compose.sh')
-rwxr-xr-xtest/docker-in-docker/docker_build_no_compose.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/docker-in-docker/docker_build_no_compose.sh b/test/docker-in-docker/docker_build_no_compose.sh
new file mode 100755
index 0000000..e913be3
--- /dev/null
+++ b/test/docker-in-docker/docker_build_no_compose.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "docker-buildx" docker buildx version
+check "docker-build" docker build ./
+
+check "not installing compose skips docker-compose v1 install" bash -c "! type docker-compose"
+check "not installing compose skips compose-switch" bash -c "[[ ! -f /usr/local/bin/compose-switch ]]"
+
+# Report result
+reportResults