2023-03-09 02:30:59 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Optional: Import test library
|
|
|
|
source dev-container-features-test-lib
|
|
|
|
|
|
|
|
# Definition specific tests
|
|
|
|
check "docker-buildx" docker buildx version
|
|
|
|
check "docker-build" docker build ./
|
|
|
|
|
2023-05-02 22:00:45 +03:00
|
|
|
check "installs docker-compose v1 install" bash -c "type docker-compose"
|
|
|
|
check "installs compose-switch" bash -c "[[ -f /usr/local/bin/compose-switch ]]"
|
|
|
|
|
2023-03-09 02:30:59 +03:00
|
|
|
# Report result
|
|
|
|
reportResults
|