aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2023-06-28 20:19:40 +0300
committerJosh Spicer <joshspicer@github.com>2023-06-28 20:19:40 +0300
commit72a0981209bd868f6a924729f8a6f35b00bcefce (patch)
treeb1e2c7eaf214a5274d682f05ffa9270a19b41269 /test
parent1de0ff9f7773d598b4cdd7b09c7107293655c15c (diff)
wait for docker to be ready
Diffstat (limited to 'test')
-rw-r--r--test/docker-in-docker/javascript_node_major_version_1.sh11
-rw-r--r--test/docker-in-docker/scenarios.json16
2 files changed, 22 insertions, 5 deletions
diff --git a/test/docker-in-docker/javascript_node_major_version_1.sh b/test/docker-in-docker/javascript_node_major_version_1.sh
new file mode 100644
index 0000000..404b688
--- /dev/null
+++ b/test/docker-in-docker/javascript_node_major_version_1.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+./test.sh
+
+# Report result
+reportResults \ No newline at end of file
diff --git a/test/docker-in-docker/scenarios.json b/test/docker-in-docker/scenarios.json
index 9c44478..5da5067 100644
--- a/test/docker-in-docker/scenarios.json
+++ b/test/docker-in-docker/scenarios.json
@@ -50,23 +50,29 @@
},
"docker_build_older": {
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
+ "remoteUser": "node",
"features": {
"docker-in-docker": {
"version": "20",
"moby": "false",
"dockerDashComposeVersion": "v2"
}
- },
- "remoteUser": "node"
+ }
},
"docker_build_no_compose": {
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-18",
+ "remoteUser": "node",
"features": {
"docker-in-docker": {
"dockerDashComposeVersion": "none"
}
- },
- "remoteUser": "node"
+ }
+ },
+ "javascript_node_major_version_1": {
+ "image": "mcr.microsoft.com/devcontainers/javascript-node:1-18",
+ "remoteUser": "node",
+ "features": {
+ "docker-in-docker": {}
+ }
}
-
}