aboutsummaryrefslogtreecommitdiff
path: root/test/docker-outside-of-docker/docker_build_no_buildx.sh
diff options
context:
space:
mode:
authorFelipe Santos <felipecassiors@gmail.com>2023-04-05 21:21:36 +0300
committerGitHub <noreply@github.com>2023-04-05 21:21:36 +0300
commit7f605b9452ac43316a0b81d78118c5dbe00ee26e (patch)
treea8eb37fb9914186c70b28d0f0d3cba8f77a307fe /test/docker-outside-of-docker/docker_build_no_buildx.sh
parentf0dd470ba898bb62eb0fa425aa81e86072454167 (diff)
Fix several issues with docker-outside-of-docker (#443)feature_docker-outside-of-docker_1.2.0
* Fix several issues with docker-outside-of-docker * Add initial tests and bump version * Add two tests * Fix docker buildx conflict * Fix possible test issue * Add tests for moby * Add buildx test to init * Fix inconsistency * Many fixes and improvements * Make dockeDashCompose v2 by default
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