aboutsummaryrefslogtreecommitdiff
path: root/test/docker-in-docker/docker_build_no_compose.sh
blob: e913be32155a471b1b682d4c37c37c76c0c729f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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