4312340798
* Add support for skipping docker-compose operations * Move changes from auto-generated files to templates and bump version * Add test * Add test conditions * Add test conditions for docker-outside-of-docker * install.sh set -x for debugging * set -x * Move compose-switch check in docker-outside-of-docker test * Put into correct test * Test for correct path
17 lines
432 B
Bash
Executable file
17 lines
432 B
Bash
Executable file
#!/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 ./
|
|
|
|
check "not installing compose skips docker-compose v1 install" bash -c "! type docker-compose"
|
|
check "not installing compose skips compose-switch" bash -c "[[ ! -f /usr/local/bin/compose-switch ]]"
|
|
|
|
# Report result
|
|
reportResults
|