aboutsummaryrefslogtreecommitdiff
path: root/test/docker-outside-of-docker/docker_build_no_buildx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/docker-outside-of-docker/docker_build_no_buildx.sh')
-rw-r--r--test/docker-outside-of-docker/docker_build_no_buildx.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/docker-outside-of-docker/docker_build_no_buildx.sh b/test/docker-outside-of-docker/docker_build_no_buildx.sh
new file mode 100644
index 0000000..7b3870d
--- /dev/null
+++ b/test/docker-outside-of-docker/docker_build_no_buildx.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+# Definition specific tests
+check "no buildx" bash -c "docker buildx version 2>&1 | grep 'not a docker command'"
+check "docker-build" docker build ./
+
+# Report result
+reportResults