examples/deploy-container.sh: add extra-container version check

It now uses the same version check as
make-container.sh (which is called by run-tests.sh)
This commit is contained in:
Erik Arvstedt 2023-07-08 15:33:02 +02:00
parent 6c2d1108a4
commit 76dc7b92e1
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 15 additions and 13 deletions

View file

@ -87,6 +87,7 @@ read -rd '' src <<EOF || true
};
}
EOF
. "${BASH_SOURCE[0]%/*}"/../test/lib/extra-container-check-version.sh
extra-container shell -E "$src" "${runCmd[@]}"
# The container is automatically deleted at exit