Skip to content

Commit

Permalink
Use suitable base images in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jgarber623-cargosense committed Feb 29, 2024
1 parent 4592b98 commit db0eb35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/shellcheck/scenarios.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"shellcheck-version": {
"image": "debian:latest",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"shellcheck": {
"version": "0.5.0"
"version": "0.7.0"
}
}
},

"shellcheck-install-path": {
"image": "debian:latest",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"shellcheck": {
"installPath": "/usr/bin"
Expand Down
2 changes: 1 addition & 1 deletion test/shellcheck/shellcheck-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source dev-container-features-test-lib
# Feature-specific tests
# The 'check' command comes from the dev-container-features-test-lib. Syntax is...
# check <LABEL> <cmd> [args...]
check "version" bash -c "shellcheck --version | grep 0.5.0"
check "version" bash -c "shellcheck --version | grep 0.7.0"

# Report result
# If any of the checks above exited with a non-zero exit code, the test will fail.
Expand Down

0 comments on commit db0eb35

Please sign in to comment.