Skip to content

Commit f1f13d3

Browse files
committed
Add the browsers feature to the universal image
1 parent a474e3f commit f1f13d3

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎images/universal/.devcontainer/devcontainer-lock.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"version": "1.0.0",
2121
"resolved": "ghcr.io/thoughtbot/devcontainers/features/asdf@sha256:073b2dd9e06753b6adf6a3f279d7ee6568243f632004c4872b5b036039949e26",
2222
"integrity": "sha256:073b2dd9e06753b6adf6a3f279d7ee6568243f632004c4872b5b036039949e26"
23+
},
24+
"ghcr.io/thoughtbot/devcontainers/features/browsers:1": {
25+
"version": "1.0.0",
26+
"resolved": "ghcr.io/thoughtbot/devcontainers/features/browsers@sha256:50eff4a42d8f014fd0b35e56c8528cf3bc1d5ca566ae4cf8eba793b0207fd958",
27+
"integrity": "sha256:50eff4a42d8f014fd0b35e56c8528cf3bc1d5ca566ae4cf8eba793b0207fd958"
2328
}
2429
}
2530
}

‎images/universal/.devcontainer/devcontainer.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"context": "."
55
},
66
"features": {
7+
"ghcr.io/thoughtbot/devcontainers/features/browsers:1": {},
78
"ghcr.io/thoughtbot/devcontainers/features/asdf:1": {},
89
"ghcr.io/thoughtbot/devcontainers/features/asdf-plugin-ruby:1": {
910
"versions": "3.0,3.1,3.2,3.3,3.4,4.0,4.0.0"

‎images/universal/test/test.sh‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ cwd=$(readlink -f "${0%/*}")
66

77
. "$cwd/test-utils.sh"
88

9+
echo "Checking we've got Chrome..."
10+
assert_command "chrome --version"
11+
12+
echo "Checking we've got chromedriver..."
13+
assert_command "chromedriver --version"
14+
915
echo "Checking we've got Ruby via asdf..."
1016
assert_command "asdf list | grep ruby"
1117

0 commit comments

Comments
 (0)