Added a scenario to test installing a gem.
This commit is contained in:
parent
515866aa8c
commit
6a4536a796
2 changed files with 20 additions and 0 deletions
11
test/ruby/install_gem.sh
Normal file
11
test/ruby/install_gem.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Optional: Import test library
|
||||
source dev-container-features-test-lib
|
||||
|
||||
check "gem installed" bash -c "gem install rubocop"
|
||||
|
||||
# Report result
|
||||
reportResults
|
|
@ -8,6 +8,15 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"install_gem": {
|
||||
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
||||
"remoteUser": "vscode",
|
||||
"features": {
|
||||
"ruby": {
|
||||
"version": "latest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additional_versions": {
|
||||
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
|
||||
"features": {
|
||||
|
|
Loading…
Reference in a new issue