mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Handle the case in which podman compose
or docker compose
fail
Implements a TODO item that was in the script
This commit is contained in:
parent
f99111c692
commit
b1e8df28da
@ -12,7 +12,13 @@ test -n "${DOCKER}" || {
|
||||
|
||||
DOCKER_COMPOSE=$(command -v podman-compose docker-compose | head -1)
|
||||
test -n "${DOCKER_COMPOSE}" || {
|
||||
DOCKER_COMPOSE="${DOCKER} compose" # TODO: check if supported
|
||||
DOCKER_COMPOSE="${DOCKER} compose"
|
||||
# check if supported
|
||||
${DOCKER_COMPOSE} > /dev/null || {
|
||||
echo "Cannot find podman-compose or docker-compose, and '${DOCKER_COMPOSE}' fails" >&2
|
||||
echo "HINT: try installing podman-compose" >&2
|
||||
exit 1
|
||||
}
|
||||
}
|
||||
|
||||
IMAGE_BUILD_DEPS=docker.io/qgis/qgis3-build-deps:latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user