aboutsummaryrefslogtreecommitdiff
path: root/test/docker-outside-of-docker/docker_build_2.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2023-03-09 02:30:59 +0300
committerGitHub <noreply@github.com>2023-03-09 02:30:59 +0300
commitde1e634a6755e10b27e52ad4e0aa44f025540074 (patch)
tree5e3b4365a10465e9e0dfb3549fc64e996a1e73fc /test/docker-outside-of-docker/docker_build_2.sh
parentfe449253f138f3c028627d3e9cc3d500d650b159 (diff)
Docker fix - BuildKit is enabled but the buildx component is missing or broken (#478)feature_docker-outside-of-docker_1.1.0feature_docker-in-docker_2.1.0
* Docker fix - BuildKit is enabled but the buildx component is missing or broken * nit * fix test
Diffstat (limited to 'test/docker-outside-of-docker/docker_build_2.sh')
-rw-r--r--test/docker-outside-of-docker/docker_build_2.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/docker-outside-of-docker/docker_build_2.sh b/test/docker-outside-of-docker/docker_build_2.sh
new file mode 100644
index 0000000..742b222
--- /dev/null
+++ b/test/docker-outside-of-docker/docker_build_2.sh
@@ -0,0 +1,13 @@
+#!/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 ./
+
+# Report result
+reportResults